diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-11 09:09:44 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-01 18:41:34 +0200 |
commit | 88073834d0052272dce61556b9508e66b84cd494 (patch) | |
tree | 8df27acc26daca7dc9e6f15e134932cbb08d324b /ksysv | |
parent | b2bfb5e920d347f2f272c21e2d24cda1c943a4d5 (diff) | |
download | tdeadmin-88073834d0052272dce61556b9508e66b84cd494.tar.gz tdeadmin-88073834d0052272dce61556b9508e66b84cd494.zip |
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system.
Diffstat (limited to 'ksysv')
-rw-r--r-- | ksysv/CMakeLists.txt | 56 | ||||
-rw-r--r-- | ksysv/pics/CMakeLists.txt | 6 | ||||
-rw-r--r-- | ksysv/toolbar/CMakeLists.txt | 3 |
3 files changed, 65 insertions, 0 deletions
diff --git a/ksysv/CMakeLists.txt b/ksysv/CMakeLists.txt new file mode 100644 index 0000000..64f11e7 --- /dev/null +++ b/ksysv/CMakeLists.txt @@ -0,0 +1,56 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( pics ) +add_subdirectory( toolbar ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### ksysv (executable) ######################## + +tde_add_executable( ksysv AUTOMOC + SOURCES main.cpp ActionList.cpp IOCore.cpp ksvdraglist.cpp + RunlevelAuthIcon.cpp OldView.cpp Properties.cpp SpinBox.cpp ServiceDlg.cpp + TopWidget.cpp Data.cpp ksv_conf.cpp ksvapplication.cpp kdltooltip.cpp + ksv_core.cpp ksvdrag.cpp kscroller.cpp ksv_service.cpp leveldb.c + PreferencesDialog.cpp trash.cpp pathconfig.ui ksvpathconfig.cpp + miscconfig.ui ksvmiscconfig.cpp lookandfeelconfig.ui ksvlookandfeel.cpp + configwizard.ui ksvconfigwizard.cpp kbusymanager.cpp + LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons ##################################### + +tde_install_icons( ) + + +##### other data ################################ + +install( FILES ksysvui.rc + DESTINATION ${DATA_INSTALL_DIR}/ksysv +) + +install( FILES ksysv.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( FILES x-ksysv-log.desktop + DESTINATION ${MIME_INSTALL_DIR}/text +) + +install( FILES x-ksysv.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) diff --git a/ksysv/pics/CMakeLists.txt b/ksysv/pics/CMakeLists.txt new file mode 100644 index 0000000..1b67975 --- /dev/null +++ b/ksysv/pics/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES ksysv_start.png ksysv_locked.png ksysv_unlocked.png + ksysv_restart.png ksysv_stop.png + DESTINATION ${DATA_INSTALL_DIR}/ksysv/pics +) diff --git a/ksysv/toolbar/CMakeLists.txt b/ksysv/toolbar/CMakeLists.txt new file mode 100644 index 0000000..2b6a060 --- /dev/null +++ b/ksysv/toolbar/CMakeLists.txt @@ -0,0 +1,3 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +tde_install_icons( ) |