Changeset View
Changeset View
Standalone View
Standalone View
kioslave/desktop/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"kio_desktop\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kio_desktop\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | if(BUILD_TESTING) | 3 | if(BUILD_TESTING) | ||
4 | add_subdirectory(tests) | 4 | add_subdirectory(tests) | ||
5 | endif() | 5 | endif() | ||
6 | 6 | | |||
7 | add_library(kio_desktop MODULE kio_desktop.cpp) | 7 | set(kio_desktop_SRCS kio_desktop.cpp) | ||
8 | qt5_add_dbus_interface( kio_desktop_SRCS ${KDED_DBUS_INTERFACE} kded_interface ) | ||||
9 | | ||||
10 | qt5_generate_dbus_interface( desktopnotifier.h ${CMAKE_CURRENT_BINARY_DIR}/desktopnotifier.xml ) | ||||
11 | qt5_add_dbus_interface( kio_desktop_SRCS ${CMAKE_CURRENT_BINARY_DIR}/desktopnotifier.xml desktopnotifier_interface ) | ||||
12 | | ||||
13 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||||
14 | | ||||
15 | add_library(kio_desktop MODULE ${kio_desktop_SRCS}) | ||||
8 | 16 | | |||
9 | target_link_libraries(kio_desktop Qt5::DBus Qt5::Gui KF5::KIOCore KF5::I18n Qt5::Network) | 17 | target_link_libraries(kio_desktop Qt5::DBus Qt5::Gui KF5::KIOCore KF5::I18n Qt5::Network) | ||
10 | 18 | | |||
11 | set_target_properties(kio_desktop PROPERTIES OUTPUT_NAME "desktop") | 19 | set_target_properties(kio_desktop PROPERTIES OUTPUT_NAME "desktop") | ||
12 | 20 | | |||
13 | install(TARGETS kio_desktop DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio) | 21 | install(TARGETS kio_desktop DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio) | ||
14 | 22 | | |||
15 | ########### next target ############### | 23 | ########### next target ############### | ||
Show All 12 Lines |