Warning, /pim/kdepim-addons/kmail/editorplugins/quicktext/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_library(kmailquicktextpluginprivate) 0005 target_sources(kmailquicktextpluginprivate PRIVATE 0006 quicktextmenu.cpp 0007 quicktextconfigurewidget.cpp 0008 quicktextconfiguredialog.cpp 0009 quicktextmanager.cpp 0010 quicktexttreewidget.cpp 0011 quicktextwidget.cpp 0012 quicktextmenu.h 0013 quicktextconfigurewidget.h 0014 quicktextconfiguredialog.h 0015 quicktextmanager.h 0016 quicktexttreewidget.h 0017 quicktextwidget.h 0018 ) 0019 0020 0021 generate_export_header(kmailquicktextpluginprivate BASE_NAME quicktext) 0022 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0023 set_target_properties(kmailquicktextpluginprivate PROPERTIES UNITY_BUILD ON) 0024 endif() 0025 0026 0027 target_link_libraries(kmailquicktextpluginprivate 0028 PRIVATE 0029 KF6::I18n KF6::CoreAddons Qt::Gui Qt::Widgets KPim6::MessageComposer KPim6::MailCommon KF6::XmlGui 0030 ) 0031 0032 set_target_properties(kmailquicktextpluginprivate 0033 PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION} 0034 ) 0035 0036 install(TARGETS kmailquicktextpluginprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0037 0038 if(BUILD_TESTING) 0039 add_subdirectory(autotests) 0040 endif() 0041 kcoreaddons_add_plugin(kmail_quicktextplugin INSTALL_NAMESPACE pim6/kmail/plugineditor) 0042 target_sources(kmail_quicktextplugin PRIVATE 0043 quicktextplugineditor.cpp 0044 quicktextplugineditorinterface.cpp 0045 quicktextplugineditor.h 0046 quicktextplugineditorinterface.h 0047 ) 0048 0049 ecm_qt_declare_logging_category(kmail_quicktextplugin HEADER quicktextplugin_debug.h IDENTIFIER KMAIL_EDITOR_QUICKTEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_quicktextplugin 0050 DESCRIPTION "kdepim-addons (kmail quicktext editor plugin)" 0051 EXPORT KDEPIMADDONS 0052 ) 0053 0054 0055 0056 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0057 set_target_properties(kmail_quicktextplugin PROPERTIES UNITY_BUILD ON) 0058 endif() 0059 0060 target_link_libraries(kmail_quicktextplugin 0061 KPim6::MessageComposer KF6::XmlGui KF6::I18n kmailquicktextpluginprivate KPim6::MailCommon 0062 )