summaryrefslogtreecommitdiffstats
path: root/src/kcm
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-04-22 13:50:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-04 19:01:30 +0200
commit2081231055036761b680dabdf3daaaef56d339ec (patch)
tree83c7eb173b897eed9480c67689fcf50699a27122 /src/kcm
parent0c2334c1fd93271a90e010a5c298941d44d8c6f6 (diff)
downloadknemo-2081231055036761b680dabdf3daaaef56d339ec.tar.gz
knemo-2081231055036761b680dabdf3daaaef56d339ec.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 48dfd726a278af29437e94d4ea2910ad60eef12c)
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}
+)