diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-26 16:06:03 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-26 16:35:30 +0300 |
commit | 9ef5a045dd516e8223b7aa97a46ac94bbd5839ae (patch) | |
tree | 6c41ca812cb12f4cac2d2259dedb3103cd8b49e9 /client | |
parent | e822245ef1730e7d24b9704a309776613d030f73 (diff) | |
download | twin-style-dekorator-9ef5a045dd516e8223b7aa97a46ac94bbd5839ae.tar.gz twin-style-dekorator-9ef5a045dd516e8223b7aa97a46ac94bbd5839ae.zip |
Replaced Autotools build files with CMake rules
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'client')
-rw-r--r-- | client/CMakeLists.txt | 40 | ||||
-rw-r--r-- | client/config/CMakeLists.txt | 29 |
2 files changed, 69 insertions, 0 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt new file mode 100644 index 0000000..64b6bd3 --- /dev/null +++ b/client/CMakeLists.txt @@ -0,0 +1,40 @@ +tde_import( twin ) + +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} +) + + +##### twin3_deKorator (kpart) + +tde_add_kpart( twin3_deKorator AUTOMOC + + SOURCES + deKoratorclient.cc + shadow.cpp + LINK + tdecore-shared + tdeui-shared + tdecorations-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES deKorator.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin +) diff --git a/client/config/CMakeLists.txt b/client/config/CMakeLists.txt new file mode 100644 index 0000000..e88c378 --- /dev/null +++ b/client/config/CMakeLists.txt @@ -0,0 +1,29 @@ +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} +) + + +##### twin_deKorator_config (kpart) + +tde_add_kpart( twin_deKorator_config AUTOMOC + + SOURCES + deKoratorconfig.cc + configdialog.ui + themes.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) |