From 48dfd726a278af29437e94d4ea2910ad60eef12c Mon Sep 17 00:00:00 2001 From: gregory guy Date: Mon, 22 Apr 2019 13:50:56 +0200 Subject: conversion to the cmake building system Signed-off-by: gregory guy --- src/kcm/CMakeLists.txt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/kcm/CMakeLists.txt (limited to 'src/kcm') 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} +) -- cgit v1.2.1