Warning, /pim/kdepim-addons/kaddressbook/plugins/sendvcards/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 kcoreaddons_add_plugin(kaddressbook_sendvcardsplugin INSTALL_NAMESPACE pim6/kaddressbook/mainview)
0008 
0009 target_sources(kaddressbook_sendvcardsplugin PRIVATE
0010     sendvcardsplugininterface.cpp
0011     sendvcardsplugin.cpp
0012     sendvcardsjob.cpp
0013     sendvcardsplugininterface.h
0014     sendvcardsplugin.h
0015     sendvcardsjob.h
0016     )
0017 ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin HEADER kaddressbook_sendvcardsplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDVCARDS_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendvcards
0018     DESCRIPTION "kdepim-addons (kaddressbook send vcard plugin)"
0019     OLD_CATEGORY_NAMES log_kaddressbook_sendvcards
0020     EXPORT KDEPIMADDONS
0021     )
0022 
0023 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0024     set_target_properties(kaddressbook_sendvcardsplugin PROPERTIES UNITY_BUILD ON)
0025 endif()
0026 target_link_libraries(kaddressbook_sendvcardsplugin
0027     KPim6::PimCommon KF6::Completion  KPim6::PimCommonAkonadi KF6::XmlGui KPim6::MimeTreeParser KF6::I18n KF6::Service KF6::KIOGui
0028     )
0029 
0030 if (BUILD_TESTING)
0031     add_subdirectory(autotests)
0032 endif()
0033 
0034