mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00

because I made KLockFile events aware (by processing application events when attempting to lock) it is possible to use it for that Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
44 lines
1.2 KiB
CMake
44 lines
1.2 KiB
CMake
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=7116)
|
|
|
|
if(ENABLE_TESTING)
|
|
add_subdirectory(tests)
|
|
endif()
|
|
|
|
set(trashcommon_PART_SRCS
|
|
trashimpl.cpp
|
|
discspaceutil.cpp
|
|
trashsizecache.cpp
|
|
)
|
|
|
|
########### next target ###############
|
|
|
|
set(kio_trash_PART_SRCS kio_trash.cpp ${trashcommon_PART_SRCS})
|
|
|
|
add_executable(kio_trash ${kio_trash_PART_SRCS})
|
|
|
|
target_link_libraries(kio_trash ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS})
|
|
|
|
install(TARGETS kio_trash DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR} )
|
|
|
|
########### next target ###############
|
|
|
|
set(ktrash_SRCS ktrash.cpp )
|
|
|
|
add_executable(ktrash ${ktrash_SRCS})
|
|
|
|
target_link_libraries(ktrash ${KDE4_KIO_LIBS} )
|
|
|
|
install(TARGETS ktrash ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
########### next target ###############
|
|
|
|
set(kcm_trash_PART_SRCS kcmtrash.cpp ${trashcommon_PART_SRCS})
|
|
kde4_add_plugin(kcm_trash ${kcm_trash_PART_SRCS})
|
|
target_link_libraries(kcm_trash ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS})
|
|
|
|
install(TARGETS kcm_trash DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES trash.protocol DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
|
install( FILES kcmtrash.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|