Warning, /pim/kdepim-addons/kmail/editorplugins/sharetext/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 kcoreaddons_add_plugin(kmail_sharetexteditorplugin INSTALL_NAMESPACE pim6/kmail/plugineditor)
0005 target_sources(kmail_sharetexteditorplugin PRIVATE
0006     sharetextplugineditor.cpp
0007     sharetextplugineditorinterface.cpp
0008     sharetextpurposemenuwidget.cpp
0009     sharetextplugineditor.h
0010     sharetextplugineditorinterface.h
0011     sharetextpurposemenuwidget.h
0012     )
0013 
0014 ecm_qt_declare_logging_category(kmail_sharetexteditorplugin HEADER sharetexteditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_SHARETEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_sharetexteditorplugin
0015     DESCRIPTION "kdepim-addons (share text editor plugin)"
0016     EXPORT KDEPIMADDONS
0017     )
0018 
0019 
0020 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0021     set_target_properties(kmail_sharetexteditorplugin PROPERTIES UNITY_BUILD ON)
0022 endif()
0023 
0024 target_link_libraries(kmail_sharetexteditorplugin
0025     KPim6::MessageComposer KF6::XmlGui KF6::I18n
0026     )
0027 
0028 if(BUILD_TESTING)
0029     add_subdirectory(autotests)
0030 endif()
0031