summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-11-01 14:09:02 +0100
committergregory guy <[email protected]>2018-11-01 14:09:02 +0100
commitec807a6bae192e677cefa55c906b5c7bcecc2960 (patch)
tree844024335d06facb373e2dce8eec5c49db2b0a16 /src/CMakeLists.txt
parent89b5680894691782b0c00fdef3431090018d4f27 (diff)
downloadksplash-engine-moodin-ec807a6bae192e677cefa55c906b5c7bcecc2960.tar.gz
ksplash-engine-moodin-ec807a6bae192e677cefa55c906b5c7bcecc2960.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..7ad6a22
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,42 @@
+add_subdirectory( themes )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TDE_INCLUDE_DIR}/ksplash
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### ksplashmoodin (kpart)
+
+tde_add_kpart( ksplashmoodin AUTOMOC
+
+ SOURCES
+ thememoodin.cpp
+ effectwidget.cpp
+ cache.cpp
+ magiclabel.cpp
+ scaler.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ ksplashthemes
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES ksplashmoodin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)