Warning, /pim/kdepim-addons/kaddressbook/plugins/sendmail/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_BINARY_DIR} 0006 ) 0007 0008 kcoreaddons_add_plugin(kaddressbook_sendmailplugin INSTALL_NAMESPACE pim6/kaddressbook/mainview) 0009 0010 target_sources(kaddressbook_sendmailplugin PRIVATE 0011 sendmailplugininterface.cpp 0012 sendmailplugin.cpp 0013 mailsenderjob.cpp 0014 sendmailplugininterface.h 0015 sendmailplugin.h 0016 mailsenderjob.h 0017 ) 0018 0019 ecm_qt_declare_logging_category(kaddressbook_sendmailplugin HEADER kaddressbook_sendmailplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDMAIL_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendmail 0020 DESCRIPTION "kdepim-addons (kaddressbook send mail plugin)" 0021 OLD_CATEGORY_NAMES log_kaddressbook_sendmail 0022 EXPORT KDEPIMADDONS 0023 ) 0024 0025 0026 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0027 set_target_properties(kaddressbook_sendmailplugin PROPERTIES UNITY_BUILD ON) 0028 endif() 0029 0030 target_link_libraries(kaddressbook_sendmailplugin 0031 KPim6::PimCommon KF6::Completion KPim6::PimCommonAkonadi KF6::XmlGui KF6::I18n KF6::Codecs 0032 ) 0033 0034 if (BUILD_TESTING) 0035 add_subdirectory(autotests) 0036 endif() 0037