diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-03-15 15:32:40 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-03-02 18:52:12 +0100 |
commit | 12bd9b6b2bba50da9c3444dfb42b985ed2a6a7c1 (patch) | |
tree | 8319b9e98b3fa1f2a2a61d7719eb9a714c7ad66a /tools/assistant/lib/CMakeLists.txt | |
parent | 34587584ab80fd696cc9d73dda1326f175125ddf (diff) | |
download | tqt-feat/cmakeConv.tar.gz tqt-feat/cmakeConv.zip |
Conversion to the cmake building system.feat/cmakeConv
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tools/assistant/lib/CMakeLists.txt')
-rw-r--r-- | tools/assistant/lib/CMakeLists.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/assistant/lib/CMakeLists.txt b/tools/assistant/lib/CMakeLists.txt new file mode 100644 index 000000000..90746eb57 --- /dev/null +++ b/tools/assistant/lib/CMakeLists.txt @@ -0,0 +1,42 @@ + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/mkspecs/linux-g++-64 + ${CMAKE_BINARY_DIR}/include + ${ZLIB_INCLUDE_DIRS} +) + +link_directories() + + +##### prepare includes + +tqt_install_includes( ntqassistantclient.h ) + + +##### tqassistantclient (shared) + +add_definitions( -DQT_INTERNAL_NETWORK ) + +tde_add_library( tqassistantclient SHARED + + SOURCES + qassistantclient.cpp + + LINK + tqt-mt-shared + + VERSION 1.0.0 + + DESTINATION ${LIB_INSTALL_DIR} +) + +set_property( + TARGET tqassistantclient-shared + APPEND PROPERTY COMPILE_DEFINITIONS + QT_INTERNAL_NETWORK +) + +tqt_automoc( tqassistantclient-shared ) |