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 19:02:09 +0200 |
commit | d9576addaa0ca9588e484dba09dacc236b41a332 (patch) | |
tree | 2bc59dfe549facc5db3e355b7c328404b72b5ed8 /tdefile-plugins | |
parent | 5a68382903e8a21e43a50fa9f87b1968d3cb00b9 (diff) | |
download | tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.tar.gz tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.zip |
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system.
(cherry picked from commit 88073834d0052272dce61556b9508e66b84cd494)
Diffstat (limited to 'tdefile-plugins')
-rw-r--r-- | tdefile-plugins/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tdefile-plugins/deb/CMakeLists.txt | 30 | ||||
-rw-r--r-- | tdefile-plugins/rpm/CMakeLists.txt | 30 |
3 files changed, 64 insertions, 0 deletions
diff --git a/tdefile-plugins/CMakeLists.txt b/tdefile-plugins/CMakeLists.txt new file mode 100644 index 0000000..a88f8fa --- /dev/null +++ b/tdefile-plugins/CMakeLists.txt @@ -0,0 +1,4 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( rpm ) +add_subdirectory( deb ) diff --git a/tdefile-plugins/deb/CMakeLists.txt b/tdefile-plugins/deb/CMakeLists.txt new file mode 100644 index 0000000..70ec689 --- /dev/null +++ b/tdefile-plugins/deb/CMakeLists.txt @@ -0,0 +1,30 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +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} +) + + +##### tdefile_deb (kpart) ####################### + +tde_add_kpart( tdefile_deb AUTOMOC + SOURCES tdefile_deb.cpp + LINK tdeio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES tdefile_deb.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/tdefile-plugins/rpm/CMakeLists.txt b/tdefile-plugins/rpm/CMakeLists.txt new file mode 100644 index 0000000..8e161e3 --- /dev/null +++ b/tdefile-plugins/rpm/CMakeLists.txt @@ -0,0 +1,30 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +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} +) + + +##### tdefile_rpm (kpart) ####################### + +tde_add_kpart( tdefile_rpm AUTOMOC + SOURCES tdefile_rpm.cpp + LINK tdeio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES tdefile_rpm.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) |