add 'a classic fairytale' campaign to cmake install
authorsheepluva
Sat, 25 Aug 2012 22:55:47 +0200
changeset 7632 81e5e7092023
parent 7631 01b599d6f72d
child 7633 d4251e519062
add 'a classic fairytale' campaign to cmake install
share/hedgewars/Data/Missions/CMakeLists.txt
share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/CMakeLists.txt
share/hedgewars/Data/Missions/Campaign/CMakeLists.txt
--- a/share/hedgewars/Data/Missions/CMakeLists.txt	Thu Aug 30 20:42:29 2012 +0200
+++ b/share/hedgewars/Data/Missions/CMakeLists.txt	Sat Aug 25 22:55:47 2012 +0200
@@ -1,2 +1,2 @@
 add_subdirectory(Training)
-add_subdirectory(Campaign)
\ No newline at end of file
+add_subdirectory(Campaign)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/CMakeLists.txt	Sat Aug 25 22:55:47 2012 +0200
@@ -0,0 +1,7 @@
+file(GLOB Config *.ini)
+file(GLOB Missions *.lua)
+
+install(FILES
+	${Config}
+	${Missions}
+	DESTINATION "${SHAREPATH}Data/Missions/Campaign/A Classic Fairytale")
--- a/share/hedgewars/Data/Missions/Campaign/CMakeLists.txt	Thu Aug 30 20:42:29 2012 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/CMakeLists.txt	Sat Aug 25 22:55:47 2012 +0200
@@ -1,3 +1,5 @@
+add_subdirectory("A Classic Fairytale")
+
 file(GLOB Scripts *.lua)
 
 install(FILES