summaryrefslogtreecommitdiffstats
path: root/ktuberling
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-02-25 06:23:55 +0300
committerSlávek Banko <slavek.banko@axis.cz>2016-03-14 23:04:06 +0100
commitc70db62d3671e524d23ac974d296eb218159b000 (patch)
tree08d8ed5d0c7c170a7940bcbb80989b99ead98447 /ktuberling
parent133cc7035dbdcaf812d8370f729530fa60547f92 (diff)
downloadtdegames-c70db62d3671e524d23ac974d296eb218159b000.tar.gz
tdegames-c70db62d3671e524d23ac974d296eb218159b000.zip
Initial cmake conversion
Diffstat (limited to 'ktuberling')
-rw-r--r--ktuberling/CMakeLists.txt49
-rw-r--r--ktuberling/museum/CMakeLists.txt9
-rw-r--r--ktuberling/pics/CMakeLists.txt6
-rw-r--r--ktuberling/sounds/CMakeLists.txt7
4 files changed, 71 insertions, 0 deletions
diff --git a/ktuberling/CMakeLists.txt b/ktuberling/CMakeLists.txt
new file mode 100644
index 00000000..d8136023
--- /dev/null
+++ b/ktuberling/CMakeLists.txt
@@ -0,0 +1,49 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( museum )
+add_subdirectory( sounds )
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libtdegames
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### ktuberling (executable) ###################
+
+tde_add_executable( ktuberling AUTOMOC
+ SOURCES action.cpp main.cpp toplevel.cpp playground.cpp todraw.cpp
+ soundfactory.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared
+ tdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( ktuberling )
+
+
+##### other data ################################
+
+install( FILES x-tuberling.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
+
+install( FILES ktuberling.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES ktuberlingui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/ktuberling
+)
diff --git a/ktuberling/museum/CMakeLists.txt b/ktuberling/museum/CMakeLists.txt
new file mode 100644
index 00000000..47a4de6d
--- /dev/null
+++ b/ktuberling/museum/CMakeLists.txt
@@ -0,0 +1,9 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES businessman.tuberling cool.tuberling cyclop.tuberling
+ dali.tuberling einstein.tuberling fly.tuberling grandpa.tuberling
+ happy.tuberling idiot.tuberling miss.tuberling mouse.tuberling
+ picasso.tuberling serious.tuberling crazy.tuberling hippie.tuberling
+ sea.tuberling
+ DESTINATION ${DATA_INSTALL_DIR}/ktuberling/museum
+)
diff --git a/ktuberling/pics/CMakeLists.txt b/ktuberling/pics/CMakeLists.txt
new file mode 100644
index 00000000..56db4a89
--- /dev/null
+++ b/ktuberling/pics/CMakeLists.txt
@@ -0,0 +1,6 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES penguin-game.png penguin-mask.png potato-game.png
+ potato-mask.png aquarium-game.png aquarium-mask.png layout.xml
+ DESTINATION ${DATA_INSTALL_DIR}/ktuberling/pics
+)
diff --git a/ktuberling/sounds/CMakeLists.txt b/ktuberling/sounds/CMakeLists.txt
new file mode 100644
index 00000000..510b9f3c
--- /dev/null
+++ b/ktuberling/sounds/CMakeLists.txt
@@ -0,0 +1,7 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES badge.wav bow.wav cigar.wav ear.wav earring.wav eye.wav
+ eyebrow.wav hat.wav moustache.wav mouth.wav nose.wav spectacles.wav
+ sunglasses.wav tuberling.wav watch.wav
+ DESTINATION ${DATA_INSTALL_DIR}/ktuberling/sounds/en
+)