summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-03-19 19:07:39 +0100
committergregory guy <g-gregory@gmx.fr>2019-03-19 19:07:39 +0100
commite7c75e712197761e6b8ac4ab59b88ef9a1896eae (patch)
tree4f9ef172cd50448e7daf95c35db39f19d85efbb3 /style
parent784fe7d12a8d87f08e1e287cba90857ff56e3e49 (diff)
downloadtde-style-lipstik-e7c75e712197761e6b8ac4ab59b88ef9a1896eae.tar.gz
tde-style-lipstik-e7c75e712197761e6b8ac4ab59b88ef9a1896eae.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'style')
-rw-r--r--style/CMakeLists.txt45
-rw-r--r--style/config/CMakeLists.txt26
2 files changed, 71 insertions, 0 deletions
diff --git a/style/CMakeLists.txt b/style/CMakeLists.txt
new file mode 100644
index 0000000..b08e7e6
--- /dev/null
+++ b/style/CMakeLists.txt
@@ -0,0 +1,45 @@
+add_subdirectory( config )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### lipstik (kpart)
+
+tde_add_kpart( lipstik AUTOMOC
+
+ SOURCES
+ lipstik.cpp
+ misc.cpp
+ LINK
+ tdecore-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
+)
+
+
+##### other data
+
+install(
+ FILES lipstik.themerc
+ DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
+)
+
+install(
+ FILES
+ lipstikstandard.kcsrc
+ lipstikwhite.kcsrc
+ lipstiknoble.kcsrc
+
+ DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
+)
diff --git a/style/config/CMakeLists.txt b/style/config/CMakeLists.txt
new file mode 100644
index 0000000..98a0d76
--- /dev/null
+++ b/style/config/CMakeLists.txt
@@ -0,0 +1,26 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### tdestyle_lipstik_config (kpart)
+
+tde_add_kpart( tdestyle_lipstik_config AUTOMOC
+
+ SOURCES
+ lipstikconf.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)