summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
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
+)