summaryrefslogtreecommitdiffstats
path: root/tdestyles/plastik/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdestyles/plastik/CMakeLists.txt')
-rw-r--r--tdestyles/plastik/CMakeLists.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/tdestyles/plastik/CMakeLists.txt b/tdestyles/plastik/CMakeLists.txt
new file mode 100644
index 000000000..ab93e42c4
--- /dev/null
+++ b/tdestyles/plastik/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( config )
+
+add_definitions(
+ -DQT_PLUGIN
+)
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/tdecore
+ ${CMAKE_SOURCE_DIR}/tdefx
+ ${CMAKE_SOURCE_DIR}/tdecore
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES plastik.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes )
+
+
+##### plastik ###################################
+
+set( target plastik )
+
+set( ${target}_SRCS
+ plastik.cpp misc.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK tdefx-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
+)