summaryrefslogtreecommitdiffstats
path: root/tdefifteen/src/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-11-25 15:16:40 +0100
committerSlávek Banko <[email protected]>2020-12-02 19:51:38 +0100
commitd607668c5a772823d6cf59df205b7aa6d2ac2130 (patch)
tree7f8b4d8c5b0f26fed9bc870bea548cac766099a0 /tdefifteen/src/CMakeLists.txt
parentcc192fd9396098134f6aa1369d63c4b270cddfe9 (diff)
downloadtdegames-d607668c5a772823d6cf59df205b7aa6d2ac2130.tar.gz
tdegames-d607668c5a772823d6cf59df205b7aa6d2ac2130.zip
Turn into a TDE application.
The game is renamed TDEFifteen (original name: q15). Add icons (Public Domaine, https://commons.wikimedia.org/wiki/File:15-puzzle.svg). Signed-off-by: gregory guy <[email protected]> (cherry picked from commit e33e8edb80936f8dd04729d70c0c991612340d5e)
Diffstat (limited to 'tdefifteen/src/CMakeLists.txt')
-rw-r--r--tdefifteen/src/CMakeLists.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/tdefifteen/src/CMakeLists.txt b/tdefifteen/src/CMakeLists.txt
new file mode 100644
index 00000000..796747d9
--- /dev/null
+++ b/tdefifteen/src/CMakeLists.txt
@@ -0,0 +1,45 @@
+############################################
+# #
+# (C) 2010-2011 Serghei Amelian #
+# serghei (DOT) amelian (AT) gmail.com #
+# (C) 2011-2012 Timothy Pearson #
+# kb9vqf (AT) pearsoncomputing (DOT) net #
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 2 #
+# #
+############################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIR}
+)
+
+
+##### (executable) tdefifteen
+
+tde_add_executable( tdefifteen AUTOMOC
+
+ SOURCES
+ gameboard.cpp
+ main.cpp
+ mainwindow.cpp
+ LINK
+ tdeui-shared
+ tdecore-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+###### other data
+
+tde_create_translated_desktop( tdefifteen.desktop )