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
953 B
50 lines
953 B
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}
|
|
)
|