blob: ab1a9ac5c35b4df2712413661bb9c520fc70bb8e (
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
43
44
45
46
47
48
49
|
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}/include
${TQT_PLATFORM_INCLUDE_DIRS}
${TIRPC_INCLUDE_DIRS}
${FREETYPE_INCLUDE_DIRS}
${CUPS_INCLUDE_DIR}
)
link_directories()
##### dialogs (static)
set( target dialogs )
set( _SRC_ qprintdialog.cpp
qcolordialog.cpp
qdialog.cpp
qerrormessage.cpp
qfiledialog.cpp
qfontdialog.cpp
qmessagebox.cpp
qprogressdialog.cpp
qtabdialog.cpp
qwizard.cpp
qinputdialog.cpp
)
tde_add_library( ${target} STATIC_PIC
SOURCES
${_SRC_}
DEPENDENCIES
tqt-includes
)
tqt_automoc( ${target}-static )
list( APPEND tqtlib_embed ${target}-static )
set( tqtlib_embed ${tqtlib_embed} PARENT_SCOPE )
set_property( TARGET ${target}-static
APPEND PROPERTY COMPILE_DEFINITIONS
${NO_CUPS}
)
|