summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-11-01 15:12:22 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-11-01 15:12:22 +0000
commitfa035c2fd70945a0b12143ce9b81284d8d24d13b (patch)
tree13e58b07970e28107b096572fd529b919be8ac38 /data
parente8f94fe7ca5e7e7838eaa84f1792b4b42b4bada3 (diff)
downloadmana-fa035c2fd70945a0b12143ce9b81284d8d24d13b.tar.gz
mana-fa035c2fd70945a0b12143ce9b81284d8d24d13b.tar.bz2
mana-fa035c2fd70945a0b12143ce9b81284d8d24d13b.tar.xz
mana-fa035c2fd70945a0b12143ce9b81284d8d24d13b.zip
Added CMake support
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt13
-rw-r--r--data/graphics/CMakeLists.txt5
-rw-r--r--data/graphics/gui/CMakeLists.txt45
-rw-r--r--data/graphics/images/CMakeLists.txt16
-rw-r--r--data/help/CMakeLists.txt12
-rw-r--r--data/icons/CMakeLists.txt9
6 files changed, 100 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 00000000..36259082
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,13 @@
+SET(DATA_DIR ${PKG_DATADIR}/data)
+
+ADD_SUBDIRECTORY(graphics)
+ADD_SUBDIRECTORY(help)
+ADD_SUBDIRECTORY(icons)
+ADD_SUBDIRECTORY(maps)
+ADD_SUBDIRECTORY(sfx)
+
+SET(FILES
+ items.xml
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR})
diff --git a/data/graphics/CMakeLists.txt b/data/graphics/CMakeLists.txt
new file mode 100644
index 00000000..c569e04f
--- /dev/null
+++ b/data/graphics/CMakeLists.txt
@@ -0,0 +1,5 @@
+ADD_SUBDIRECTORY(gui)
+ADD_SUBDIRECTORY(images)
+ADD_SUBDIRECTORY(items)
+ADD_SUBDIRECTORY(sprites)
+ADD_SUBDIRECTORY(tiles)
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
new file mode 100644
index 00000000..87585226
--- /dev/null
+++ b/data/graphics/gui/CMakeLists.txt
@@ -0,0 +1,45 @@
+SET (FILES
+ attack_target.png
+ bg_quad_dis.png
+ browserfont.png
+ button_disabled.png
+ buttonhi.png
+ button.png
+ buttonpress.png
+ checkbox.png
+ deepbox.png
+ fixedfont.png
+ hits_blue.png
+ hits_red.png
+ hits_yellow.png
+ hscroll_left_default.png
+ hscroll_left_highlight.png
+ hscroll_left_pressed.png
+ hscroll_right_default.png
+ hscroll_right_highlight.png
+ hscroll_right_pressed.png
+ menuitemD.png
+ menuitemF.png
+ menuitemN.png
+ menuitemP.png
+ mouse.png
+ radioin.png
+ radioout.png
+ resize.png
+ rpgfont_wider.png
+ sansserif8.png
+ selection.png
+ slider.png
+ thickborder.png
+ vscroll_blue.png
+ vscroll_down_default.png
+ vscroll_down_highlight.png
+ vscroll_down_pressed.png
+ vscroll_grey.png
+ vscroll_red.png
+ vscroll_up_default.png
+ vscroll_up_highlight.png
+ vscroll_up_pressed.png
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/gui)
diff --git a/data/graphics/images/CMakeLists.txt b/data/graphics/images/CMakeLists.txt
new file mode 100644
index 00000000..471d4c92
--- /dev/null
+++ b/data/graphics/images/CMakeLists.txt
@@ -0,0 +1,16 @@
+ADD_SUBDIRECTORY(ambient)
+
+SET(FILES
+ login_wallpaper.png
+ minimap_new_1-1.png
+ minimap_new_14-1.png
+ minimap_new_15-1.png
+ minimap_new_16-1.png
+ minimap_new_2-1.png
+ minimap_new_3-1.png
+ minimap_new_5-1.png
+ minimap_new_7-1.png
+ minimap_new_9-1.png
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/images)
diff --git a/data/help/CMakeLists.txt b/data/help/CMakeLists.txt
new file mode 100644
index 00000000..82f61d54
--- /dev/null
+++ b/data/help/CMakeLists.txt
@@ -0,0 +1,12 @@
+SET(FILES
+ about.txt
+ changes.txt
+ commands.txt
+ header.txt
+ index.txt
+ skills.txt
+ support.txt
+ team.txt
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/help)
diff --git a/data/icons/CMakeLists.txt b/data/icons/CMakeLists.txt
new file mode 100644
index 00000000..30d96d86
--- /dev/null
+++ b/data/icons/CMakeLists.txt
@@ -0,0 +1,9 @@
+SET(FILES
+ tmw-icon.ico
+ tmw-icon.png
+ tmw-icon.xpm
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/icons)
+
+INSTALL(FILES "tmw-icon.png" DESTINATION share/pixmaps RENAME tmw.png)