kde-workspace/statusnotifierwatcher/CMakeLists.txt

27 lines
995 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
project(StatusNotifierWatcher)
set(kded_statusnotifierwatcher_SRCS statusnotifierwatcher.cpp )
QT4_ADD_DBUS_ADAPTOR(kded_statusnotifierwatcher_SRCS ${KDE4_DBUS_INTERFACES_INSTALL_DIR}/org.kde.StatusNotifierWatcher.xml
2014-11-13 19:30:51 +02:00
statusnotifierwatcher.h StatusNotifierWatcher)
set(statusnotifieritem_xml ${KDE4_DBUS_INTERFACES_INSTALL_DIR}/org.kde.StatusNotifierItem.xml)
2014-11-13 19:30:51 +02:00
set_source_files_properties(${statusnotifieritem_xml} PROPERTIES
NO_NAMESPACE false
INCLUDE "systemtraytypedefs.h"
CLASSNAME OrgKdeStatusNotifierItemInterface
)
QT4_ADD_DBUS_INTERFACE(kded_statusnotifierwatcher_SRCS ${statusnotifieritem_xml} statusnotifieritem_interface)
kde4_add_plugin(kded_statusnotifierwatcher ${kded_statusnotifierwatcher_SRCS})
target_link_libraries(kded_statusnotifierwatcher KDE4::kio )
2014-11-13 19:30:51 +02:00
install(TARGETS kded_statusnotifierwatcher DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
2014-11-13 19:30:51 +02:00
install( FILES statusnotifierwatcher.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded)
2014-11-13 19:30:51 +02:00