Warning, /pim/kdepim-addons/plugins/messageviewer/bodypartformatter/calendar/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 add_definitions(-DTRANSLATION_DOMAIN=\"messageviewer_text_calendar_plugin\")
0005 add_library(messageviewer_bodypartformatter_text_calendar MODULE)
0006 
0007 qt_add_dbus_interfaces(messageviewer_bodypartformatter_text_calendar_PART_SRCS
0008     korganizer/org.kde.Korganizer.Calendar.xml
0009     )
0010 
0011 target_sources(messageviewer_bodypartformatter_text_calendar PRIVATE
0012     text_calendar.cpp delegateselector.cpp attendeeselector.cpp memorycalendarmemento.cpp syncitiphandler.cpp
0013     reactiontoinvitationdialog.cpp
0014     delegateselector.h attendeeselector.h memorycalendarmemento.h syncitiphandler.h
0015     reactiontoinvitationdialog.h
0016     ${messageviewer_bodypartformatter_text_calendar_PART_SRCS})
0017 
0018 ecm_qt_declare_logging_category(messageviewer_bodypartformatter_text_calendar HEADER text_calendar_debug.h IDENTIFIER TEXT_CALENDAR_LOG CATEGORY_NAME org.kde.pim.text_calendar
0019     DESCRIPTION "kdepim-addons (messageviewer calendar plugins)"
0020     OLD_CATEGORY_NAMES log_text_calendar
0021     EXPORT KDEPIMADDONS
0022     )
0023 
0024 
0025 
0026 ki18n_wrap_ui(messageviewer_bodypartformatter_text_calendar attendeeselector.ui)
0027 
0028 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0029     set_target_properties(messageviewer_bodypartformatter_text_calendar PROPERTIES UNITY_BUILD ON)
0030 endif()
0031 
0032 target_link_libraries(messageviewer_bodypartformatter_text_calendar
0033     KF6::Codecs
0034     Qt::Core
0035     KF6::CalendarCore
0036     KPim6::CalendarUtils
0037     KPim6::Mime
0038     KPim6::IdentityManagementCore
0039     KPim6::AkonadiMime
0040     KPim6::MailTransport
0041     KPim6::AkonadiMime
0042     KPim6::CalendarSupport
0043     KPim6::PimCommonAkonadi
0044     KPim6::MessageViewer
0045     KPim6::IncidenceEditor
0046     KPim6::PimTextEdit
0047     KF6::KIOWidgets
0048     Qt::DBus
0049     )
0050 
0051 install(TARGETS messageviewer_bodypartformatter_text_calendar  DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/messageviewer/bodypartformatter)
0052 if (BUILD_TESTING)
0053     add_subdirectory(tests)
0054 endif()