summaryrefslogtreecommitdiffstats
path: root/src/kcm
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-04-22 13:50:56 +0200
committergregory guy <g-gregory@gmx.fr>2019-04-23 12:57:40 +0200
commit48dfd726a278af29437e94d4ea2910ad60eef12c (patch)
tree07b37896ea5b1a661a8a26bc532551db061dc426 /src/kcm
parenta02b3a63d5915581c9ce0d55df4070bb4352a414 (diff)
downloadknemo-48dfd726a278af29437e94d4ea2910ad60eef12c.tar.gz
knemo-48dfd726a278af29437e94d4ea2910ad60eef12c.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'src/kcm')
-rw-r--r--src/kcm/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/kcm/CMakeLists.txt b/src/kcm/CMakeLists.txt
new file mode 100644
index 0000000..9a039be
--- /dev/null
+++ b/src/kcm/CMakeLists.txt
@@ -0,0 +1,39 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/src/knemod/backends
+ ${CMAKE_SOURCE_DIR}/src/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kcm_knemo (kpart)
+
+tde_add_kpart( kcm_knemo AUTOMOC
+
+ SOURCES
+ configdlg.ui
+ configdialog.cpp
+
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kcm_knemo.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)