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 /kpackage/CMakeLists.txt | |
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 'kpackage/CMakeLists.txt')
-rw-r--r-- | kpackage/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kpackage/CMakeLists.txt b/kpackage/CMakeLists.txt new file mode 100644 index 0000000..5853e6d --- /dev/null +++ b/kpackage/CMakeLists.txt @@ -0,0 +1,44 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( pics ) +add_subdirectory( toolbar ) +add_subdirectory( icon ) + +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} +) + + +##### kpackage (executable) ##################### + +tde_add_executable( kpackage AUTOMOC + SOURCES kpackage.cpp managementWidget.cpp packageDisplay.cpp + packageProperties.cpp findf.cpp search.cpp options.cpp pkgOptions.cpp + packageInfo.cpp cache.cpp main.cpp utils.cpp tdeio.cpp debInterface.cpp + debDpkgInterface.cpp debAptInterface.cpp updateLoc.cpp procbuf.cpp + kplview.cpp pkgInterface.cpp rpmInterface.cpp kissInterface.cpp + slackInterface.cpp fbsdInterface.cpp gentooInterface.cpp kpPty.cpp + kpTerm.cpp + LINK tdecore-shared tdeui-shared tdeio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES kpackageui.rc + DESTINATION ${DATA_INSTALL_DIR}/kpackage +) + +install( FILES kpackage.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) |