summaryrefslogtreecommitdiffstats
path: root/kruler/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-01 02:35:56 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-01 02:35:56 +0000
commit1519ab4cd15ba6c913570a6eef370e3e7667c060 (patch)
tree78850eca2f7ff068417917081788177b2df5f7c5 /kruler/CMakeLists.txt
parentc3809fce15f966296c57961f0f4cf508b9b06dd4 (diff)
downloadtdegraphics-1519ab4cd15ba6c913570a6eef370e3e7667c060.tar.gz
tdegraphics-1519ab4cd15ba6c913570a6eef370e3e7667c060.zip
[kdegraphics/kruler] initial cmake support (made by Calvin Morrison)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1223193 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kruler/CMakeLists.txt')
-rw-r--r--kruler/CMakeLists.txt40
1 files changed, 40 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}
+)