summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-22 20:52:44 +0900
committerMavridis Philippe <mavridisf@gmail.com>2024-03-24 23:17:01 +0200
commitfd62635a2792b5cbbbae1c5288992af0054332ee (patch)
tree142ee8d27f069a78e367f1eaa837d6e4c2c600ea /client
parent57f8e4dbf7dc6cce58dfc11b5aab03e86b7cbdc7 (diff)
downloadtde-style-polyester-fd62635a2792b5cbbbae1c5288992af0054332ee.tar.gz
tde-style-polyester-fd62635a2792b5cbbbae1c5288992af0054332ee.zip
Use centralized cmake version. Align cmake files to usual TDE style
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'client')
-rw-r--r--client/CMakeLists.txt6
-rw-r--r--client/config/CMakeLists.txt13
2 files changed, 7 insertions, 12 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index ecb2c0d..07fb701 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -22,8 +22,8 @@ link_directories(
tde_import(twin)
### twin_polyester (kpart) #####################################################
-tde_add_kpart(twin_polyester
- AUTOMOC
+
+tde_add_kpart( twin_polyester AUTOMOC
SOURCES
polyester.cpp
@@ -39,10 +39,12 @@ tde_add_kpart(twin_polyester
)
### other data #################################################################
+
install(
FILES polyester.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
)
### configuration module #######################################################
+
add_subdirectory(config)
diff --git a/client/config/CMakeLists.txt b/client/config/CMakeLists.txt
index 7868bae..ba7496c 100644
--- a/client/config/CMakeLists.txt
+++ b/client/config/CMakeLists.txt
@@ -7,26 +7,19 @@
################################################################################
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}
)
### buttons.h ##################################################################
+
add_custom_target(buttons.h
COMMAND ${CMAKE_COMMAND} -E create-buttons.sh
)
### twin_polyester_config (kpart) ##############################################
-tde_add_kpart(twin_polyester_config
- AUTOMOC
+
+tde_add_kpart( twin_polyester_config AUTOMOC
SOURCES
configdialog.ui