summaryrefslogtreecommitdiffstats
path: root/ktuberling
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2016-02-25 06:23:55 +0300
committerSlávek Banko <[email protected]>2016-03-14 23:04:46 +0100
commit22eaaf46994712a7ea19be99d49c5ceb889470bd (patch)
tree6813293435ece498f1d90a99adfa5e9a49c875fe /ktuberling
parentfa5d2dca53e1046fe38ac7cf0210d45ad5cc5107 (diff)
downloadtdegames-22eaaf46994712a7ea19be99d49c5ceb889470bd.tar.gz
tdegames-22eaaf46994712a7ea19be99d49c5ceb889470bd.zip
Initial cmake conversion
(cherry picked from commit c70db62d3671e524d23ac974d296eb218159b000)
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
+)