diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-04-22 13:50:56 +0200 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2019-04-23 12:57:40 +0200 |
commit | 48dfd726a278af29437e94d4ea2910ad60eef12c (patch) | |
tree | 07b37896ea5b1a661a8a26bc532551db061dc426 /src/kcm | |
parent | a02b3a63d5915581c9ce0d55df4070bb4352a414 (diff) | |
download | knemo-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.txt | 39 |
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} +) |