Warning, /pim/kdepim-addons/kmail/editorsendcheckplugins/confirm-address/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_confirmaddresseditorplugin INSTALL_NAMESPACE pim6/kmail/plugincheckbeforesend)
0005 target_sources(kmail_confirmaddresseditorplugin PRIVATE
0006     confirmaddressinterface.cpp
0007     confirmaddressplugin.cpp
0008     confirmaddressconfigurewidget.cpp
0009     confirmaddressdialog.cpp
0010     confirmaddresswidget.cpp
0011     confirmaddressconfiguretabwidget.cpp
0012     confirmaddressconfiguretab.cpp
0013     confirmaddresscheckjob.cpp
0014     confirmaddressconfiguredialog.cpp
0015     confirmaddresssimplestringlisteditor.cpp
0016     confirmaddressemailentrydialog.cpp
0017     confirmaddressinterface.h
0018     confirmaddressplugin.h
0019     confirmaddressconfigurewidget.h
0020     confirmaddressdialog.h
0021     confirmaddresswidget.h
0022     confirmaddressconfiguretabwidget.h
0023     confirmaddressconfiguretab.h
0024     confirmaddresscheckjob.h
0025     confirmaddressconfiguredialog.h
0026     confirmaddresssimplestringlisteditor.h
0027     confirmaddressemailentrydialog.h
0028     )
0029 
0030 ecm_qt_declare_logging_category(kmail_confirmaddresseditorplugin HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_confirmaddressplugin
0031     DESCRIPTION "kdepim-addons (Confirm Address plugin)"
0032     OLD_CATEGORY_NAMES log_kmail_confirmaddressplugin
0033     EXPORT KDEPIMADDONS
0034     )
0035 
0036 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0037     set_target_properties(kmail_confirmaddresseditorplugin PROPERTIES UNITY_BUILD ON)
0038 endif()
0039 
0040 target_link_libraries(kmail_confirmaddresseditorplugin
0041     KPim6::MessageComposer KF6::I18n KPim6::PimCommon KPim6::Libkdepim KF6::Completion
0042     )
0043 
0044 if(BUILD_TESTING)
0045     add_subdirectory(autotests)
0046 endif()
0047