Changeset View
Changeset View
Standalone View
Standalone View
src/kontactplugin/korganizer/CMakeLists.txt
Show All 9 Lines | |||||
10 | set(kontact_korganizerplugin_PART_SRCS korganizerplugin.cpp apptsummarywidget.cpp summaryeventinfo.cpp ${libcommon_SRCS}) | 10 | set(kontact_korganizerplugin_PART_SRCS korganizerplugin.cpp apptsummarywidget.cpp summaryeventinfo.cpp ${libcommon_SRCS}) | ||
11 | 11 | | |||
12 | qt5_add_dbus_interfaces(kontact_korganizerplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml ${korganizer_SOURCE_DIR}/src/data/org.kde.korganizer.Korganizer.xml) | 12 | qt5_add_dbus_interfaces(kontact_korganizerplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml ${korganizer_SOURCE_DIR}/src/data/org.kde.korganizer.Korganizer.xml) | ||
13 | 13 | | |||
14 | add_library(kontact_korganizerplugin MODULE ${kontact_korganizerplugin_PART_SRCS}) | 14 | add_library(kontact_korganizerplugin MODULE ${kontact_korganizerplugin_PART_SRCS}) | ||
15 | 15 | | |||
16 | target_link_libraries(kontact_korganizerplugin KF5::AkonadiCalendar KF5::CalendarUtils KF5::Contacts KF5::CalendarCore KF5::Libkdepim KF5::KontactInterface korganizerprivate KF5::CalendarSupport KF5::AkonadiCalendar KF5::WindowSystem KF5::I18n) | 16 | target_link_libraries(kontact_korganizerplugin KF5::AkonadiCalendar KF5::CalendarUtils KF5::Contacts KF5::CalendarCore KF5::Libkdepim KF5::KontactInterface korganizerprivate KF5::CalendarSupport KF5::AkonadiCalendar KF5::WindowSystem KF5::I18n) | ||
17 | 17 | | |||
18 | kcoreaddons_desktop_to_json(kontact_korganizerplugin korganizerplugin.desktop) | ||||
19 | | ||||
18 | ########### next target ############### | 20 | ########### next target ############### | ||
19 | 21 | | |||
20 | set(kontact_todoplugin_PART_SRCS todoplugin.cpp todosummarywidget.cpp ${libcommon_SRCS}) | 22 | set(kontact_todoplugin_PART_SRCS todoplugin.cpp todosummarywidget.cpp ${libcommon_SRCS}) | ||
21 | 23 | | |||
22 | qt5_add_dbus_interfaces(kontact_todoplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml ${korganizer_SOURCE_DIR}/src/data/org.kde.korganizer.Korganizer.xml) | 24 | qt5_add_dbus_interfaces(kontact_todoplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml ${korganizer_SOURCE_DIR}/src/data/org.kde.korganizer.Korganizer.xml) | ||
23 | 25 | | |||
24 | add_library(kontact_todoplugin MODULE ${kontact_todoplugin_PART_SRCS}) | 26 | add_library(kontact_todoplugin MODULE ${kontact_todoplugin_PART_SRCS}) | ||
25 | 27 | | |||
26 | target_link_libraries(kontact_todoplugin KF5::AkonadiCalendar KF5::Contacts KF5::Libkdepim KF5::KontactInterface KF5::CalendarCore KF5::CalendarUtils KF5::CalendarSupport KF5::AkonadiCalendar KF5::WindowSystem) | 28 | target_link_libraries(kontact_todoplugin KF5::AkonadiCalendar KF5::Contacts KF5::Libkdepim KF5::KontactInterface KF5::CalendarCore KF5::CalendarUtils KF5::CalendarSupport KF5::AkonadiCalendar KF5::WindowSystem) | ||
27 | 29 | | |||
30 | kcoreaddons_desktop_to_json(kontact_todoplugin todoplugin.desktop) | ||||
31 | | ||||
28 | ########### next target ############### | 32 | ########### next target ############### | ||
29 | 33 | | |||
30 | set(kontact_journalplugin_PART_SRCS journalplugin.cpp ${libcommon_SRCS}) | 34 | set(kontact_journalplugin_PART_SRCS journalplugin.cpp ${libcommon_SRCS}) | ||
31 | 35 | | |||
32 | qt5_add_dbus_interfaces(kontact_journalplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml) | 36 | qt5_add_dbus_interfaces(kontact_journalplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml) | ||
33 | 37 | | |||
34 | add_library(kontact_journalplugin MODULE ${kontact_journalplugin_PART_SRCS}) | 38 | add_library(kontact_journalplugin MODULE ${kontact_journalplugin_PART_SRCS}) | ||
35 | 39 | | |||
36 | target_link_libraries(kontact_journalplugin KF5::KontactInterface KF5::WindowSystem) | 40 | target_link_libraries(kontact_journalplugin KF5::KontactInterface KF5::WindowSystem) | ||
37 | 41 | | |||
42 | kcoreaddons_desktop_to_json(kontact_journalplugin journalplugin.desktop) | ||||
43 | | ||||
38 | ########### next target ############### | 44 | ########### next target ############### | ||
39 | 45 | | |||
40 | set(kcm_apptsummary_PART_SRCS kcmapptsummary.cpp) | 46 | set(kcm_apptsummary_PART_SRCS kcmapptsummary.cpp) | ||
41 | 47 | | |||
42 | ki18n_wrap_ui(kcm_apptsummary_PART_SRCS apptsummaryconfig_base.ui) | 48 | ki18n_wrap_ui(kcm_apptsummary_PART_SRCS apptsummaryconfig_base.ui) | ||
43 | 49 | | |||
44 | add_library(kcm_apptsummary MODULE ${kcm_apptsummary_PART_SRCS}) | 50 | add_library(kcm_apptsummary MODULE ${kcm_apptsummary_PART_SRCS}) | ||
45 | 51 | | |||
Show All 12 Lines | |||||
58 | ########## Unit Test ########### | 64 | ########## Unit Test ########### | ||
59 | if (BUILD_TESTING) | 65 | if (BUILD_TESTING) | ||
60 | add_subdirectory(autotests) | 66 | add_subdirectory(autotests) | ||
61 | endif() | 67 | endif() | ||
62 | ########### install files ############### | 68 | ########### install files ############### | ||
63 | 69 | | |||
64 | install(TARGETS kcm_apptsummary DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 70 | install(TARGETS kcm_apptsummary DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||
65 | install(TARGETS kcm_todosummary DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 71 | install(TARGETS kcm_todosummary DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||
66 | install(TARGETS kontact_korganizerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 72 | install(TARGETS kontact_korganizerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5) | ||
67 | install(TARGETS kontact_todoplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 73 | install(TARGETS kontact_todoplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5) | ||
68 | install(TARGETS kontact_journalplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 74 | install(TARGETS kontact_journalplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5) | ||
69 | 75 | | |||
70 | install(FILES korganizerplugin.desktop todoplugin.desktop journalplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kontact) | 76 | install(FILES korganizerplugin.desktop todoplugin.desktop journalplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kontact) | ||
71 | install(FILES kcmapptsummary.desktop kcmtodosummary.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 77 | install(FILES kcmapptsummary.desktop kcmtodosummary.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
72 | 78 | | |||
73 | install(FILES korganizer.setdlg DESTINATION ${KDE_INSTALL_DATADIR}/kontact/ksettingsdialog) | 79 | install(FILES korganizer.setdlg DESTINATION ${KDE_INSTALL_DATADIR}/kontact/ksettingsdialog) | ||
74 | 80 | | |||
75 | 81 | |