Add install script for tiles transitional_engine
authorunC0Rr
Thu, 05 Sep 2024 21:33:51 +0200
branchtransitional_engine
changeset 16030 842df792d6d6
parent 16029 9cbd18220eb7
child 16031 1b1d5729ff3e
Add install script for tiles
share/hedgewars/Data/CMakeLists.txt
share/hedgewars/Data/Tiles/CMakeLists.txt
--- a/share/hedgewars/Data/CMakeLists.txt	Tue Sep 03 13:56:35 2024 +0200
+++ b/share/hedgewars/Data/CMakeLists.txt	Thu Sep 05 21:33:51 2024 +0200
@@ -10,6 +10,7 @@
     Scripts
     Sounds
     Themes
+    Tiles
     misc
     )
     add_subdirectory(${dir})
@@ -18,3 +19,8 @@
 if(${GL2})
     add_subdirectory(Shaders)
 endif(${GL2})
+
+install(FILES
+    map_templates.yaml
+    wfc_templates.yaml
+    DESTINATION ${SHAREPATH}Data)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Tiles/CMakeLists.txt	Thu Sep 05 21:33:51 2024 +0200
@@ -0,0 +1,5 @@
+file(GLOB tiles *.png)
+
+install(FILES
+    ${tiles}
+    DESTINATION ${SHAREPATH}Data/Tiles)