From 5351c3e573802130a903c9ba659aaf33e26e851d Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 25 Jun 2021 21:09:25 +0300 Subject: Added CMake build rules Signed-off-by: Mavridis Philippe --- src/CMakeLists.txt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..50a6b1d --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,53 @@ +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_SUSE2 (kpart) + +tde_add_kpart( twin3_SUSE2 AUTOMOC + + SOURCES + SUSE2.cpp + SUSE2client.cpp + SUSE2button.cpp + shadow.cpp + misc.cpp + LINK + tdecore-shared + tdeui-shared + tdecorations-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES SUSE2.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin +) + +install( + FILES titlebar_decor.png + DESTINATION ${DATA_INSTALL_DIR}/twin/pics +) + +install( + FILES SUSE2.kcsrc + DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes +) -- cgit v1.2.1