summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
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