summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-01-30 11:42:53 +0100
committergregory guy <[email protected]>2019-01-30 11:42:53 +0100
commitd4155deb8d425efa01e2d2e9332ecfe4f12ccb9c (patch)
tree79dbcd781a717bf2c736243de0afbb6de0d170b1 /extras
parent8ecce8449d1f8e512b3f5ea03531cf85ce762916 (diff)
downloadkshutdown-d4155deb8d425efa01e2d2e9332ecfe4f12ccb9c.tar.gz
kshutdown-d4155deb8d425efa01e2d2e9332ecfe4f12ccb9c.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
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
+)