summaryrefslogtreecommitdiffstats
path: root/styles
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
parent99a9c9fb9a9ce322e8b43fc101877c6a78622bca (diff)
downloadtdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.zip
tdeartwork-5379c37cfc91f24716af951dd08503f65f7575d7.tar.gz
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')
-rw-r--r--styles/CMakeLists.txt13
-rw-r--r--styles/dotnet/CMakeLists.txt43
-rw-r--r--styles/phase/CMakeLists.txt45
-rw-r--r--styles/phase/config/CMakeLists.txt35
4 files changed, 136 insertions, 0 deletions
diff --git a/styles/CMakeLists.txt b/styles/CMakeLists.txt
new file mode 100644
index 0000000..ca32bd4
--- /dev/null
+++ b/styles/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2011 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( dotnet )
+add_subdirectory( phase )
diff --git a/styles/dotnet/CMakeLists.txt b/styles/dotnet/CMakeLists.txt
new file mode 100644
index 0000000..cd00694
--- /dev/null
+++ b/styles/dotnet/CMakeLists.txt
@@ -0,0 +1,43 @@
+#################################################
+#
+# (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}
+)
+
+##### other data ################################
+
+install( FILES dotnet.themerc DESTINATION ${DATA_INSTALL_DIR}/kstyle/themes )
+
+
+##### dotnet #####################################
+
+set( target dotnet )
+
+set( ${target}_SRCS
+ dotnet.cpp
+)
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
+)
diff --git a/styles/phase/CMakeLists.txt b/styles/phase/CMakeLists.txt
new file mode 100644
index 0000000..c3c96bd
--- /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 0000000..fefcc9f
--- /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}
+)