summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-01-30 11:42:53 +0100
committerSlávek Banko <[email protected]>2019-02-02 15:36:40 +0100
commit4f89efe3465eff6c67fa2674ea5f98452b34757a (patch)
tree0e2f4d1e9c2a64dd1e000adac52c2e196ff83dee /extras
parent32a4ad7b1211ceabc5da467c01aec379b26e5eea (diff)
downloadkshutdown-4f89efe3465eff6c67fa2674ea5f98452b34757a.tar.gz
kshutdown-4f89efe3465eff6c67fa2674ea5f98452b34757a.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]> (cherry picked from commit d4155deb8d425efa01e2d2e9332ecfe4f12ccb9c)
Diffstat (limited to 'extras')
-rw-r--r--extras/CMakeLists.txt8
-rw-r--r--extras/multimedia/CMakeLists.txt6
-rw-r--r--extras/shutdown/CMakeLists.txt6
-rw-r--r--extras/system/CMakeLists.txt6
4 files changed, 26 insertions, 0 deletions
diff --git a/extras/CMakeLists.txt b/extras/CMakeLists.txt
new file mode 100644
index 0000000..4645d0a
--- /dev/null
+++ b/extras/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_subdirectory( multimedia )
+add_subdirectory( shutdown )
+add_subdirectory( system )
+
+install(
+ FILES hibernate.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras
+)
diff --git a/extras/multimedia/CMakeLists.txt b/extras/multimedia/CMakeLists.txt
new file mode 100644
index 0000000..00173e8
--- /dev/null
+++ b/extras/multimedia/CMakeLists.txt
@@ -0,0 +1,6 @@
+file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
+
+install(
+ FILES ${_files} .directory
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/multimedia
+)
diff --git a/extras/shutdown/CMakeLists.txt b/extras/shutdown/CMakeLists.txt
new file mode 100644
index 0000000..f6c8d32
--- /dev/null
+++ b/extras/shutdown/CMakeLists.txt
@@ -0,0 +1,6 @@
+file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
+
+install(
+ FILES ${_files} .directory
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/shutdown
+)
diff --git a/extras/system/CMakeLists.txt b/extras/system/CMakeLists.txt
new file mode 100644
index 0000000..6e6e107
--- /dev/null
+++ b/extras/system/CMakeLists.txt
@@ -0,0 +1,6 @@
+file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
+
+install(
+ FILES ${_files} .directory
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/system
+)