Warning, /pim/kdepim-addons/kmail/editorsendcheckplugins/automaticaddcontacts/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_automaticaddcontactseditorplugin INSTALL_NAMESPACE pim6/kmail/plugincheckbeforesend)
0005 target_sources(kmail_automaticaddcontactseditorplugin PRIVATE
0006     automaticaddcontactsinterface.cpp
0007     automaticaddcontactsplugin.cpp
0008     automaticaddcontactsconfigurewidget.cpp
0009     automaticaddcontactsjob.cpp
0010     automaticaddcontactstabwidget.cpp
0011     automaticaddcontactsconfiguretab.cpp
0012     automaticaddcontactsconfiguredialog.cpp
0013     automaticaddcontactsinterface.h
0014     automaticaddcontactsplugin.h
0015     automaticaddcontactsconfigurewidget.h
0016     automaticaddcontactsjob.h
0017     automaticaddcontactstabwidget.h
0018     automaticaddcontactsconfiguretab.h
0019     automaticaddcontactsconfiguredialog.h
0020     )
0021 
0022 ecm_qt_declare_logging_category(kmail_automaticaddcontactseditorplugin HEADER automaticaddcontactsplugin_debug.h IDENTIFIER KMAIL_EDITOR_AUTOMATICADDCONTACTS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_automaticaddcontactsplugin
0023     DESCRIPTION "kdepim-addons (Automatic add contacts plugin)"
0024     OLD_CATEGORY_NAMES log_kmail_automaticaddcontactsplugin
0025     EXPORT KDEPIMADDONS
0026     )
0027 
0028 
0029 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0030     set_target_properties(kmail_automaticaddcontactseditorplugin PROPERTIES UNITY_BUILD ON)
0031 endif()
0032 
0033 target_link_libraries(kmail_automaticaddcontactseditorplugin
0034     KPim6::MessageComposer KF6::I18n KPim6::PimCommon KPim6::AkonadiContactWidgets KPim6::AkonadiCore KF6::Codecs
0035     )
0036 
0037 if(BUILD_TESTING)
0038     add_subdirectory(autotests)
0039 endif()
0040