summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'knetwalk/src/CMakeLists.txt')
-rw-r--r--knetwalk/src/CMakeLists.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/knetwalk/src/CMakeLists.txt b/knetwalk/src/CMakeLists.txt
new file mode 100644
index 00000000..04e10d51
--- /dev/null
+++ b/knetwalk/src/CMakeLists.txt
@@ -0,0 +1,43 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pics )
+add_subdirectory( sounds )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libtdegames
+ ${CMAKE_SOURCE_DIR}/libtdegames/highscore
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### knetwalk (executable) #####################
+
+tde_add_executable( knetwalk AUTOMOC
+ SOURCES cell.cpp highscores.cpp main.cpp mainwindow.cpp settings.kcfgc
+ LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared tdecore-shared
+ tdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/knetwalk
+)
+
+install( FILES knetwalk.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES knetwalkui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/knetwalk
+)