- Simplify build system files
authorunc0rr
Fri, 20 Jul 2007 12:25:40 +0000
changeset 562 d1a9035175ed
parent 561 19d2d422ff84
child 563 5131c641073f
- Simplify build system files - Remove obsolete files
share/hedgewars/Data/CMakeLists.txt
share/hedgewars/Data/Fonts/CMakeLists.txt
share/hedgewars/Data/Forts/BarrelhouseL.txt
share/hedgewars/Data/Forts/BarrelhouseR.txt
share/hedgewars/Data/Forts/CMakeLists.txt
share/hedgewars/Data/Graphics/AmmoMenu/CMakeLists.txt
share/hedgewars/Data/Graphics/CMakeLists.txt
share/hedgewars/Data/Graphics/Graves/CMakeLists.txt
share/hedgewars/Data/Locale/CMakeLists.txt
share/hedgewars/Data/Music/CMakeLists.txt
share/hedgewars/Data/Sounds/CMakeLists.txt
--- a/share/hedgewars/Data/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,3 +1,3 @@
-foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Sounds" "Themes")
+foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Music" "Sounds" "Themes")
   add_subdirectory(${dir})
 endforeach(dir)
\ No newline at end of file
--- a/share/hedgewars/Data/Fonts/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Fonts/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,1 +1,3 @@
-install(FILES DejaVuSans.ttf DESTINATION ${SHAREPATH}Data/Fonts)
\ No newline at end of file
+install(FILES
+	DejaVuSans.ttf
+	DESTINATION ${SHAREPATH}Data/Fonts)
--- a/share/hedgewars/Data/Forts/BarrelhouseL.txt	Sun Jul 15 20:52:03 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-247 122
-19 229
-709 147
-478 294
-345 319
-218 277
-130 478
-212 936
-787 414
-797 609
-805 953
\ No newline at end of file
--- a/share/hedgewars/Data/Forts/BarrelhouseR.txt	Sun Jul 15 20:52:03 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-776 122
-1004 229
-315 147
-545 294
-678 319
-805 277
-893 478
-811 936
-236 414
-226 609
-218 953
\ No newline at end of file
--- a/share/hedgewars/Data/Forts/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Forts/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,6 +1,5 @@
+file(GLOB FortSprites *.png) 
+
 install(FILES
-	BarrelhouseL.png
-	BarrelhouseR.png
-	IslandL.png
-	IslandR.png
-	DESTINATION ${SHAREPATH}Data/Forts)
\ No newline at end of file
+	${FortSprites}
+	DESTINATION ${SHAREPATH}Data/Forts)
--- a/share/hedgewars/Data/Graphics/AmmoMenu/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Graphics/AmmoMenu/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,8 +1,5 @@
+file(GLOB AmmoMenuSprites *.png) 
+
 install(FILES
-	AmmoName.png
-	Ammos.png
-	BrdrLines.png
-	Selection.png
-	Slot.png
-	SlotKeys.png
-	DESTINATION ${SHAREPATH}Data/Graphics/AmmoMenu)
\ No newline at end of file
+	${AmmoMenuSprites}
+	DESTINATION ${SHAREPATH}Data/Graphics/AmmoMenu)
--- a/share/hedgewars/Data/Graphics/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Graphics/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,44 +1,8 @@
 add_subdirectory(Graves)
 add_subdirectory(AmmoMenu)
+
+file(GLOB BaseSprites *.png) 
+
 install(FILES
-	AirBomb.png
-	Airplane.png
-	amAirplane.png
-	amGirder.png
-	Arrow.png
-	BigDigits.png
-	BlueWater.png
-	Bomb.png
-	Case.png
-	ClBomb.png
-	Clouds.png
-	ClParticle.png
-	Console.png
-	Crosshair.png
-	dynamite.png
-	Expl50.png
-	Finger.png
-	FirstAid.png
-	Flame.png
-	Frame.png
-	Girder.png
-	Grenade.png
-	Hedgehog.png
-	hhMask.png
-	Lag.png
-	MineOff.png
-	MineOn.png
-	Power.png
-	PowerBar.png
-	Progress.png
-	RopeHook.png
-	RopeNode.png
-	SmokeTrace.png
-	Switch.png
-	Targetp.png
-	thinking.png
-	UFO.png
-	WindBar.png
-	WindL.png
-	WindR.png
-	DESTINATION ${SHAREPATH}Data/Graphics)
\ No newline at end of file
+	${BaseSprites}
+	DESTINATION ${SHAREPATH}Data/Graphics)
--- a/share/hedgewars/Data/Graphics/Graves/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Graphics/Graves/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,6 +1,5 @@
+file(GLOB GraveSprites *.png) 
+
 install(FILES
-	Bone.png
-	coffin.png
-	Rip.png
-	Simple.png
-	DESTINATION ${SHAREPATH}Data/Graphics/Graves)
\ No newline at end of file
+	${GraveSprites}
+	DESTINATION ${SHAREPATH}Data/Graphics/Graves)
--- a/share/hedgewars/Data/Locale/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Locale/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -2,4 +2,4 @@
 	en.txt
 	ru.txt
 	hedgewars_ru.qm
-	DESTINATION ${SHAREPATH}Data/Locale)
\ No newline at end of file
+	DESTINATION ${SHAREPATH}Data/Locale)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Music/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -0,0 +1,5 @@
+file(GLOB BaseMusic *.ogg) 
+
+install(FILES
+	${BaseMusic}
+	DESTINATION ${SHAREPATH}Data/Music)
--- a/share/hedgewars/Data/Sounds/CMakeLists.txt	Sun Jul 15 20:52:03 2007 +0000
+++ b/share/hedgewars/Data/Sounds/CMakeLists.txt	Fri Jul 20 12:25:40 2007 +0000
@@ -1,14 +1,5 @@
+file(GLOB BaseSounds *.ogg) 
+
 install(FILES
-	explosion.ogg
-	graveimpact.ogg
-	grenadeimpact.ogg
-	gun.ogg
-	minetick.ogg
-	pickhammer.ogg
-	shotgunfire.ogg
-	shotgunreload.ogg
-	splash.ogg
-	throwpowerup.ogg
-	throwrelease.ogg
-	ufo.ogg
-	DESTINATION ${SHAREPATH}Data/Sounds)
\ No newline at end of file
+	${BaseSounds}
+	DESTINATION ${SHAREPATH}Data/Sounds)