From e7c75e712197761e6b8ac4ab59b88ef9a1896eae Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 19 Mar 2019 19:07:39 +0100 Subject: conversion to the cmake building system Signed-off-by: gregory guy --- style/CMakeLists.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++ style/config/CMakeLists.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 style/CMakeLists.txt create mode 100644 style/config/CMakeLists.txt (limited to 'style') 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} +) -- cgit v1.2.1