Warning, /pim/korganizer/src/kontactplugin/korganizer/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 ########### next target ############### 0004 set(libcommon_SRCS korg_uniqueapp.cpp korg_uniqueapp.h) 0005 ecm_qt_declare_logging_category(libcommon_SRCS HEADER korganizerplugin_debug.h IDENTIFIER KORGANIZERPLUGIN_LOG CATEGORY_NAME org.kde.pim.korganizer_plugin 0006 DESCRIPTION "korganizer (korganizer kontact plugins)" 0007 OLD_CATEGORY_NAMES log_korganizer_plugin 0008 EXPORT KORGANIZER 0009 ) 0010 0011 set(kontact_korganizerplugin_PART_SRCS korganizerplugin.cpp apptsummarywidget.cpp summaryeventinfo.cpp korganizerplugin.h apptsummarywidget.h summaryeventinfo.h ${libcommon_SRCS}) 0012 0013 qt_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) 0014 0015 add_library(kontact_korganizerplugin MODULE ${kontact_korganizerplugin_PART_SRCS}) 0016 0017 target_link_libraries(kontact_korganizerplugin KPim6::AkonadiCalendar KPim6::CalendarUtils KF6::Contacts KF6::CalendarCore KPim6::KontactInterface korganizerprivate KPim6::CalendarSupport KPim6::AkonadiCalendar KF6::WindowSystem KF6::I18n) 0018 0019 ########### next target ############### 0020 0021 set(kontact_todoplugin_PART_SRCS todoplugin.cpp todosummarywidget.cpp todoplugin.h todosummarywidget.h ${libcommon_SRCS}) 0022 0023 qt_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) 0024 0025 add_library(kontact_todoplugin MODULE ${kontact_todoplugin_PART_SRCS}) 0026 0027 target_link_libraries(kontact_todoplugin KPim6::AkonadiCalendar KF6::Contacts KPim6::KontactInterface KF6::CalendarCore KPim6::CalendarUtils KPim6::CalendarSupport KPim6::AkonadiCalendar KF6::WindowSystem) 0028 0029 ########### next target ############### 0030 0031 set(kontact_journalplugin_PART_SRCS journalplugin.cpp journalplugin.h ${libcommon_SRCS}) 0032 0033 qt_add_dbus_interfaces(kontact_journalplugin_PART_SRCS ${korganizer_SOURCE_DIR}/src/data/org.kde.Korganizer.Calendar.xml) 0034 0035 add_library(kontact_journalplugin MODULE ${kontact_journalplugin_PART_SRCS}) 0036 0037 target_link_libraries(kontact_journalplugin KF6::I18n KPim6::KontactInterface KF6::WindowSystem) 0038 0039 ########### next target ############### 0040 0041 set(kcmapptsummary_PART_SRCS kcmapptsummary.cpp kcmapptsummary.h) 0042 0043 ki18n_wrap_ui(kcmapptsummary_PART_SRCS apptsummaryconfig_base.ui) 0044 0045 add_library(kcmapptsummary MODULE ${kcmapptsummary_PART_SRCS}) 0046 target_link_libraries(kcmapptsummary KF6::KCMUtils KF6::I18n KF6::CoreAddons) 0047 0048 ########### next target ############### 0049 0050 set(kcmtodosummary_PART_SRCS kcmtodosummary.cpp kcmtodosummary.h) 0051 0052 ki18n_wrap_ui(kcmtodosummary_PART_SRCS todosummaryconfig_base.ui) 0053 0054 add_library(kcmtodosummary MODULE ${kcmtodosummary_PART_SRCS}) 0055 target_link_libraries(kcmtodosummary Qt::Widgets KF6::KCMUtils KF6::I18n KF6::CoreAddons) 0056 0057 ########## Unit Test ########### 0058 if (BUILD_TESTING) 0059 add_subdirectory(autotests) 0060 endif() 0061 ########### install files ############### 0062 0063 install(TARGETS kcmapptsummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/summary) 0064 install(TARGETS kcmtodosummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/summary) 0065 install(TARGETS kontact_korganizerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kontact) 0066 install(TARGETS kontact_todoplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kontact) 0067 install(TARGETS kontact_journalplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kontact)