summaryrefslogtreecommitdiffstats
path: root/styles/phase
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-20 03:59:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-20 03:59:04 +0000
commit5379c37cfc91f24716af951dd08503f65f7575d7 (patch)
tree59288babdc8ae3bf4b529b7ced17509450f05679 /styles/phase
parent99a9c9fb9a9ce322e8b43fc101877c6a78622bca (diff)
downloadtdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.tar.gz
tdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.zip
Commit initial kdeartwork CMake support, courtesy of Golubev Alexander
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1259766 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'styles/phase')
-rw-r--r--styles/phase/CMakeLists.txt45
-rw-r--r--styles/phase/config/CMakeLists.txt35
2 files changed, 80 insertions, 0 deletions
diff --git a/styles/phase/CMakeLists.txt b/styles/phase/CMakeLists.txt
new file mode 100644
index 00000000..c3c96bd4
--- /dev/null
+++ b/styles/phase/CMakeLists.txt
@@ -0,0 +1,45 @@
+#################################################
+#
+# (C) 2011 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions(
+ -DQT_PLUGIN
+)
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_subdirectory( config )
+
+##### other data ################################
+
+install( FILES phase.themerc DESTINATION ${DATA_INSTALL_DIR}/kstyle/themes )
+
+##### phasestyle #################################
+
+set( target phasestyle )
+
+set( ${target}_SRCS
+ phasestyle.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdefx-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
+)
diff --git a/styles/phase/config/CMakeLists.txt b/styles/phase/config/CMakeLists.txt
new file mode 100644
index 00000000..fefcc9f2
--- /dev/null
+++ b/styles/phase/config/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2011 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### kstyle_phase_config ########################
+
+set( target kstyle_phase_config )
+
+set( ${target}_SRCS
+ phasestyleconfig.cpp
+ styledialog.ui
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)