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.
49 lines
902 B
49 lines
902 B
|
|
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
${CMAKE_SOURCE_DIR}/kttsd/libkttsd
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${TDE_LIB_DIR}
|
|
)
|
|
|
|
|
|
##### libkttsd_stringreplacerplugin (kpart)
|
|
|
|
tde_add_kpart( libkttsd_stringreplacerplugin AUTOMOC
|
|
|
|
SOURCES
|
|
stringreplacerconfwidget.ui
|
|
editreplacementwidget.ui
|
|
stringreplacerconf.cpp
|
|
stringreplacerproc.cpp
|
|
stringreplacerplugin.cpp
|
|
LINK
|
|
kttsd-shared
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### other data
|
|
|
|
tde_create_translated_desktop(
|
|
SOURCE kttsd_stringreplacerplugin.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
PO_DIR kttsd-desktops
|
|
)
|
|
|
|
|
|
file( GLOB _xmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xml )
|
|
|
|
install(
|
|
FILES ${_xmls}
|
|
DESTINATION ${DATA_INSTALL_DIR}/kttsd/stringreplacer
|
|
)
|