Changeset View
Changeset View
Standalone View
Standalone View
src/service/plugins/gtk-eventspy/CMakeLists.txt
- This file was added.
1 | # vim:set softtabstop=3 shiftwidth=3 tabstop=3 expandtab: | ||||
---|---|---|---|---|---|
2 | | ||||
3 | project (activitymanager-gtk-eventspy) | ||||
4 | | ||||
5 | find_package (KF5KIO ${KF5_MIN_VERSION} CONFIG REQUIRED) | ||||
6 | | ||||
7 | set ( | ||||
8 | gtkevenyspy_SRCS | ||||
9 | GtkEventSpy.cpp | ||||
10 | ) | ||||
11 | | ||||
12 | ecm_qt_declare_logging_category(gtkevenyspy_SRCS | ||||
13 | HEADER DebugPluginGtkEventSpy.h | ||||
14 | IDENTIFIER KAMD_PLUGIN_GTK_EVENTSPY | ||||
15 | CATEGORY_NAME org.kde.kactivities.plugin.gtk-eventspy | ||||
16 | DEFAULT_SEVERITY Warning) | ||||
17 | | ||||
18 | kcoreaddons_add_plugin( | ||||
19 | kactivitymanagerd_plugin_gtk_eventspy | ||||
20 | JSON kactivitymanagerd-plugin-gtk-eventspy.json | ||||
21 | SOURCES ${gtkevenyspy_SRCS} | ||||
22 | INSTALL_NAMESPACE ${KAMD_PLUGIN_DIR} | ||||
23 | ) | ||||
24 | | ||||
25 | target_link_libraries ( | ||||
26 | kactivitymanagerd_plugin_gtk_eventspy | ||||
27 | Qt5::Core | ||||
28 | Qt5::DBus | ||||
29 | Qt5::Xml | ||||
30 | KF5::ConfigCore | ||||
31 | KF5::CoreAddons | ||||
32 | KF5::KIOCore | ||||
33 | KF5::Service | ||||
34 | kactivitymanagerd_plugin | ||||
35 | ) | ||||
36 | | ||||
37 | set_target_properties ( | ||||
38 | kactivitymanagerd_plugin_gtk_eventspy | ||||
39 | PROPERTIES PREFIX "" | ||||
40 | ) |