summaryrefslogtreecommitdiffstats
path: root/kruler
diff options
context:
space:
mode:
Diffstat (limited to 'kruler')
-rw-r--r--kruler/CMakeLists.txt40
-rw-r--r--kruler/pics/CMakeLists.txt16
2 files changed, 56 insertions, 0 deletions
diff --git a/kruler/CMakeLists.txt b/kruler/CMakeLists.txt
new file mode 100644
index 00000000..86a8b955
--- /dev/null
+++ b/kruler/CMakeLists.txt
@@ -0,0 +1,40 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+#### other data #################################
+
+install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES eventsrc ${DATA_INSTALL_DIR}/kruler )
+install( FILES move.wav DESTINATION ${DATA_INSTALL_DIR}/kruler/sounds )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Graphics RENAME kruler.desktop )
+
+
+#### kruler (executable) ########################
+
+tde_add_executable( kruler AUTOMOC
+ SOURCES klineal.cpp main.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kruler/pics/CMakeLists.txt b/kruler/pics/CMakeLists.txt
new file mode 100644
index 00000000..0dfc6ff3
--- /dev/null
+++ b/kruler/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ kruler-east.png kruler-north.png kruler-south.png kruler-west.png
+ DESTINATION ${DATA_INSTALL_DIR}/kruler/pics )
+
+tde_install_icons( kruler )