summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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..59af3fda
--- /dev/null
+++ b/data/graphics/gui/CMakeLists.txt
@@ -0,0 +1,45 @@
+SET (FILES
+ attack_target.png
+ bg_quad_dis.png
+ browserfont.png
+ button.png
+ button_disabled.png
+ buttonhi.png
+ buttonpress.png
+ checkbox.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
+ mouse.png
+ menuitemD.png
+ menuitemF.png
+ menuitemN.png
+ menuitemP.png
+ radioin.png
+ radioout.png
+ selection.png
+ sansserif8.png
+ slider.png
+ deepbox.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
+ rpgfont_wider.png
+ resize.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..d406c7b2
--- /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_2-1.png
+ minimap_new_3-1.png
+ minimap_new_5-1.png
+ minimap_new_7-1.png
+ minimap_new_9-1.png
+ minimap_new_14-1.png
+ minimap_new_15-1.png
+ minimap_new_16-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)