summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-04-13 00:33:10 +0900
committerMichele Calgaro <[email protected]>2019-04-13 00:33:10 +0900
commit691c9204a1a6dcbce52d41e62a988044e48270d4 (patch)
tree34bb4442388b2649eaed235a395258e1211110f7 /tdeioslave/trash/CMakeLists.txt
parent48635e6343601457bb1ae1e1a489ebce81266fab (diff)
downloadtdebase-691c9204a1a6dcbce52d41e62a988044e48270d4.tar.gz
tdebase-691c9204a1a6dcbce52d41e62a988044e48270d4.zip
Added TDE Control module for trash policy configuration.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/trash/CMakeLists.txt')
-rw-r--r--tdeioslave/trash/CMakeLists.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/tdeioslave/trash/CMakeLists.txt b/tdeioslave/trash/CMakeLists.txt
index 1082b57af..2f1b184a9 100644
--- a/tdeioslave/trash/CMakeLists.txt
+++ b/tdeioslave/trash/CMakeLists.txt
@@ -26,19 +26,18 @@ link_directories(
##### other data ################################
install( FILES ktrashpropsdlgplugin.desktop trash.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kcm_trash.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
##### trashcommon (static) ######################
-
set( target trashcommon )
tde_add_library( ${target} STATIC_PIC AUTOMOC
- SOURCES trashimpl.cpp discspaceutil.cpp
+ SOURCES trashimpl.cpp discspaceutil.cpp ktrashpropswidget.cpp
)
##### tdeio_trash (module) ########################
-
set( target tdeio_trash )
tde_add_kpart( ${target} AUTOMOC
@@ -47,8 +46,18 @@ tde_add_kpart( ${target} AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR}
)
-##### ktrashpropsdlgplugin (module) ########################
+##### kcm_trash (module) ########################
+set( target kcm_trash )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES kcm_trash.cpp
+ LINK trashcommon-static tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### ktrashpropsdlgplugin (module) ########################
set( target ktrashpropsdlgplugin )
tde_add_kpart( ${target} AUTOMOC
@@ -57,8 +66,8 @@ tde_add_kpart( ${target} AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR}
)
-##### ktrash (executable) #######################
+##### ktrash (executable) #######################
set( target ktrash )
tde_add_executable( ${target}
@@ -67,6 +76,7 @@ tde_add_executable( ${target}
DESTINATION ${BIN_INSTALL_DIR}
)
+
##### testtrash (executable) #######################
tde_add_executable( testtrash
SOURCES testtrash.cpp AUTOMOC