summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/CMakeLists.txt
blob: 90746eb575d6e3e6c57d3565f8bbdd5ac32a9580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 )