summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-25 21:09:25 +0300
committerMavridis Philippe <[email protected]>2021-06-25 21:37:11 +0300
commit5351c3e573802130a903c9ba659aaf33e26e851d (patch)
tree122b24811d30b9b774378cd1f777ccb2fa9ffdd6 /src/CMakeLists.txt
parent16c650c19e6b8c8f74851939b50402c5e6e4aed2 (diff)
downloadtwin-style-suse2-5351c3e573802130a903c9ba659aaf33e26e851d.tar.gz
twin-style-suse2-5351c3e573802130a903c9ba659aaf33e26e851d.zip
Added CMake build rules
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt53
1 files changed, 53 insertions, 0 deletions
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
+)