summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2022-10-15 19:30:27 +0300
committerMavridis Philippe <mavridisf@gmail.com>2022-10-15 19:31:09 +0300
commitdf9b0a7fbed59095a30af1dde46c45ae95290361 (patch)
tree272af52510280fbbe20e7d082edb2c0af71c9575 /src/CMakeLists.txt
parentff500937b0223a487c753d2ec109fb6b3782ae54 (diff)
downloadtwin-style-machbunt-df9b0a7fbed59095a30af1dde46c45ae95290361.tar.gz
twin-style-machbunt-df9b0a7fbed59095a30af1dde46c45ae95290361.zip
Port to CMake build system
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..8491bcd
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,43 @@
+tde_import( twin )
+
+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_MachBunt (kpart)
+
+tde_add_kpart( twin3_MachBunt AUTOMOC
+
+ SOURCES
+ MachBuntButton.cpp
+ MachBunt.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdecorations-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE MachBunt.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/twin
+)
+
+tde_create_translated_desktop(
+ SOURCE MachBunt.kcsrc
+ DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
+)