Warning, /pim/knotes/src/kontactplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 0005 0006 ########### next target ############### 0007 set(kontact_knotesplugin_PART_SRCS 0008 knotes_plugin.cpp 0009 knotes_part.cpp 0010 summarywidget.cpp 0011 knotesiconview.cpp 0012 knoteslistwidgetsearchline.cpp 0013 knoteswidget.cpp 0014 knoteseditdialog.cpp 0015 knotesselectdeletenotesdialog.cpp 0016 0017 knotes_plugin.h 0018 knotes_part.h 0019 summarywidget.h 0020 knotesiconview.h 0021 knoteslistwidgetsearchline.h 0022 knoteswidget.h 0023 knoteseditdialog.h 0024 knotesselectdeletenotesdialog.h 0025 ) 0026 0027 qt_add_dbus_adaptor(kontact_knotesplugin_PART_SRCS org.kde.kontact.KNotes.xml knotes_part.h KNotesPart) 0028 qt_add_dbus_interfaces(kontact_knotesplugin_interface_SRCS org.kde.kontact.KNotes.xml) 0029 0030 ecm_qt_declare_logging_category(kontact_knotesplugin_PART_SRCS HEADER knotes_kontact_plugin_debug.h IDENTIFIER KNOTES_KONTACT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.knoteskontactplugin 0031 DESCRIPTION "knotes (knotes kontact plugin)" 0032 OLD_CATEGORY_NAMES log_knoteskontactplugin 0033 EXPORT KNOTES 0034 ) 0035 0036 0037 0038 add_library(kontact_knotesplugin MODULE ${kontact_knotesplugin_PART_SRCS} ${kontact_knotesplugin_interface_SRCS} ) 0039 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0040 set_target_properties(kontact_knotesplugin PROPERTIES UNITY_BUILD ON) 0041 endif() 0042 target_link_libraries(kontact_knotesplugin 0043 knotesprivate 0044 KF6::CalendarCore 0045 KPim6::CalendarUtils 0046 KPim6::KontactInterface 0047 notesharedprivate 0048 KF6::DNSSD 0049 KPim6::Mime 0050 KF6::KCMUtils 0051 KPim6::AkonadiWidgets 0052 KPim6::AkonadiNotes 0053 KF6::ItemViews 0054 KF6::Contacts 0055 KF6::Completion 0056 KF6::TextUtils 0057 KF6::I18n 0058 KF6::TextWidgets 0059 ) 0060 0061 ########### install files ############### 0062 0063 set(kcmknotessummary_PART_SRCS kcmknotessummary.cpp kcmknotessummary.h) 0064 add_library(kcmknotessummary MODULE ${kcmknotessummary_PART_SRCS}) 0065 target_link_libraries(kcmknotessummary KF6::KCMUtils KPim6::PimCommonAkonadi 0066 KPim6::AkonadiNotes KF6::I18n) 0067 0068 0069 install(TARGETS kcmknotessummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/summary) 0070 0071 0072 install(TARGETS kontact_knotesplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kontact) 0073 install(FILES knotes_part.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/knotes) 0074 install(FILES org.kde.kontact.KNotes.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) 0075