summaryrefslogtreecommitdiffstats
path: root/conduits/recordconduit/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-03 03:54:42 +0100
committerSlávek Banko <[email protected]>2019-01-03 04:32:19 +0100
commit7d4da1a03dce87c2292283c70efea49b534ecd42 (patch)
tree15587e076cd16e365adc863a39997381171826ea /conduits/recordconduit/CMakeLists.txt
parent6d8083e2a680f398426332649fa58ef6062d5d82 (diff)
downloadkpilot-7d4da1a03dce87c2292283c70efea49b534ecd42.tar.gz
kpilot-7d4da1a03dce87c2292283c70efea49b534ecd42.zip
Migration to standard TDE CMake build system.
Add common cmake module. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0ef4ca6d362d2a6d8a3821e2f47a7d141fbcd3a9)
Diffstat (limited to 'conduits/recordconduit/CMakeLists.txt')
-rw-r--r--conduits/recordconduit/CMakeLists.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/conduits/recordconduit/CMakeLists.txt b/conduits/recordconduit/CMakeLists.txt
new file mode 100644
index 0000000..a4aec62
--- /dev/null
+++ b/conduits/recordconduit/CMakeLists.txt
@@ -0,0 +1,33 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### conduit_record (kpart) ####################
+
+tde_add_kpart( conduit_record AUTOMOC
+ SOURCES settings.kcfgc setup_base.ui factory.cc
+ LINK kpilot-shared tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES record-conduit.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install( FILES settings.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)