- implemented frontend
- namespaced Core
- imported qdevicewatcher
- fixed bug in logging (more like in misc)
This commit is contained in:
zhupengfei
2019-08-28 19:16:05 +08:00
parent fd5106759a
commit 7df0b63a1e
22 changed files with 351 additions and 166 deletions
+6
View File
@@ -1,2 +1,8 @@
# Crypto++
add_subdirectory(cryptopp)
# fmt
add_subdirectory(fmt)
# QDeviceWatcher
add_subdirectory(qdevicewatcher)
+26
View File
@@ -0,0 +1,26 @@
set(CMAKE_AUTOMOC ON)
add_definitions(-DUNICODE -D_UNICODE)
add_library(qdevicewatcher STATIC
qdevicewatcher/src/qdevicewatcher_p.h
qdevicewatcher/src/qdevicewatcher.cpp
qdevicewatcher/src/qdevicewatcher.h
)
target_link_libraries(qdevicewatcher PRIVATE Qt5::Core)
target_include_directories(qdevicewatcher INTERFACE qdevicewatcher/src)
if (WIN32)
target_sources(qdevicewatcher PRIVATE
qdevicewatcher/src/qdevicewatcher_win32.cpp
)
elseif(APPLE)
target_sources(qdevicewatcher PRIVATE
qdevicewatcher/src/qdevicewatcher_mac.cpp
)
elseif(UNIX)
target_sources(qdevicewatcher PRIVATE
qdevicewatcher/src/qdevicewatcher_linux.cpp
)
endif()