You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
965 B
50 lines
965 B
3 years ago
|
include_directories(
|
||
|
${CMAKE_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
|
${CMAKE_BINARY_DIR}/include
|
||
|
${CMAKE_SOURCE_DIR}/mkspecs/linux-g++-64
|
||
|
${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}
|
||
|
)
|