Warning, /pim/kdepim-addons/kmail/editorsendcheckplugins/checkbeforesend/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 include_directories( 0005 ${CMAKE_CURRENT_SOURCE_DIR}/ 0006 ) 0007 kcoreaddons_add_plugin(kmail_checkbeforesendeditorplugin INSTALL_NAMESPACE pim6/kmail/plugincheckbeforesend) 0008 0009 target_sources(kmail_checkbeforesendeditorplugin PRIVATE 0010 checkbeforesendplugin.cpp 0011 checkbeforesendinterface.cpp 0012 checkbeforesendupdatesmtpdialog.cpp 0013 configurewidget/checkbeforesendconfigurewidget.cpp 0014 configurewidget/checkbeforesendconfiguredialog.cpp 0015 duplicateemails/checkduplicateemailsdialog.cpp 0016 duplicateemails/checkduplicateemailsjob.cpp 0017 sendattachments/checkattachmentdialog.cpp 0018 sendattachments/checkattachmentjob.cpp 0019 checkbeforesendplugin.h 0020 checkbeforesendinterface.h 0021 checkbeforesendupdatesmtpdialog.h 0022 configurewidget/checkbeforesendconfigurewidget.h 0023 configurewidget/checkbeforesendconfiguredialog.h 0024 duplicateemails/checkduplicateemailsdialog.h 0025 duplicateemails/checkduplicateemailsjob.h 0026 sendattachments/checkattachmentdialog.h 0027 sendattachments/checkattachmentjob.h 0028 ) 0029 0030 ecm_qt_declare_logging_category(kmail_checkbeforesendeditorplugin HEADER checkbeforesendplugin_debug.h IDENTIFIER KMAIL_EDITOR_checkbeforesend_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_checkbeforesendplugin 0031 DESCRIPTION "kdepim-addons (check before send editor plugin)" 0032 EXPORT KDEPIMADDONS 0033 ) 0034 0035 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0036 set_target_properties(kmail_checkbeforesendeditorplugin PROPERTIES UNITY_BUILD ON) 0037 endif() 0038 0039 target_link_libraries(kmail_checkbeforesendeditorplugin 0040 KPim6::MessageComposer KF6::I18n KF6::Codecs 0041 ) 0042 0043 if(BUILD_TESTING) 0044 add_subdirectory(autotests) 0045 endif()