summaryrefslogtreecommitdiffstats
path: root/ktux/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-11-18 15:33:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-11-18 15:39:42 +0100
commitea4db78c2f65b301fccb10dccc07c87365e4ca94 (patch)
tree583c7425521341d2f8b555125dd0f13e94b21856 /ktux/CMakeLists.txt
parent8f9720b20698b0a8a43db7c39d03bd6f51c4f21e (diff)
downloadtdetoys-ea4db78c2f65b301fccb10dccc07c87365e4ca94.tar.gz
tdetoys-ea4db78c2f65b301fccb10dccc07c87365e4ca94.zip
Initial conversion to cmake
Thanks to Fat-Zer (cherry picked from commit c4c9c9fd262dd8450c1cf4454183b03173a3b092)
Diffstat (limited to 'ktux/CMakeLists.txt')
-rw-r--r--ktux/CMakeLists.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/ktux/CMakeLists.txt b/ktux/CMakeLists.txt
new file mode 100644
index 0000000..384c8d5
--- /dev/null
+++ b/ktux/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( sprites )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### ktux (executable) #########################
+
+tde_add_executable( ktux AUTOMOC
+ SOURCES spriteanim.cpp spritemisc.cpp
+ spritepm.cpp sprite.cpp
+ LINK kio-shared kscreensaver-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( ktux )
+
+
+##### other data ################################
+
+install( FILES ktux.desktop
+ DESTINATION
+ ${APPS_INSTALL_DIR}/System/ScreenSavers
+)
+