blob: ad4988b9b9e7a47955eea83034a3444166c5201d (
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
|
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../shared
${CMAKE_SOURCE_DIR}/mkspecs/linux-g++-64
${CMAKE_BINARY_DIR}/include
${ZLIB_INCLUDE_DIRS}
)
link_directories()
##### tqm2ts (executable)
set( target tqm2ts )
tde_add_executable( ${target}
SOURCES
main.cpp
../shared/metatranslator.cpp
LINK
tqt-mt-shared
DESTINATION ${BIN_INSTALL_DIR}
)
set_property(
TARGET ${target}
APPEND PROPERTY COMPILE_DEFINITIONS
QT_INTERNAL_XML
)
tqt_automoc( ${target} )
|