diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-11-01 14:09:02 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-11-04 04:21:20 +0100 |
commit | 0b2c4d9d78db599b2232cbdf79b8dc0eb1412182 (patch) | |
tree | 82a7b29fc842b198b87fe15d9fa3820c084730ec /src | |
parent | ef642b4147395641732446151426119d3e0aa5fe (diff) | |
download | ksplash-engine-moodin-0b2c4d9d78db599b2232cbdf79b8dc0eb1412182.tar.gz ksplash-engine-moodin-0b2c4d9d78db599b2232cbdf79b8dc0eb1412182.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit ec807a6bae192e677cefa55c906b5c7bcecc2960)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 42 | ||||
-rw-r--r-- | src/themes/Architecture/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/themes/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/themes/FingerPrint/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/themes/MoodinKDE/CMakeLists.txt | 4 |
5 files changed, 59 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} +) diff --git a/src/themes/Architecture/CMakeLists.txt b/src/themes/Architecture/CMakeLists.txt new file mode 100644 index 0000000..90bc1fb --- /dev/null +++ b/src/themes/Architecture/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} Background.jpg Theme.rc + DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Architecture +) diff --git a/src/themes/CMakeLists.txt b/src/themes/CMakeLists.txt new file mode 100644 index 0000000..6d0aa9f --- /dev/null +++ b/src/themes/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories( ) diff --git a/src/themes/FingerPrint/CMakeLists.txt b/src/themes/FingerPrint/CMakeLists.txt new file mode 100644 index 0000000..cfcad13 --- /dev/null +++ b/src/themes/FingerPrint/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} Background.jpg Theme.rc + DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/FingerPrint +) diff --git a/src/themes/MoodinKDE/CMakeLists.txt b/src/themes/MoodinKDE/CMakeLists.txt new file mode 100644 index 0000000..d0fbb88 --- /dev/null +++ b/src/themes/MoodinKDE/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES Background.jpg Preview.png Theme.rc + DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/MoodinKDE +) |