Warning, /pim/kdepim-addons/kmail/plugins/expertplugin/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 kcoreaddons_add_plugin(kmail_expertplugin INSTALL_NAMESPACE pim6/kmail/mainview)
0004 target_sources(kmail_expertplugin PRIVATE
0005     expertplugin.cpp
0006     expertplugininterface.cpp
0007     expertplugin.h
0008     expertplugininterface.h
0009     )
0010 
0011 ecm_qt_declare_logging_category(kmail_expertplugin
0012     HEADER expertplugin_debug.h
0013     IDENTIFIER KMAIL_EXPERT_PLUGIN_LOG
0014     CATEGORY_NAME org.kde.pim.kmail_expertplugin
0015     DESCRIPTION "kdepim-addons (kmail expert plugin)"
0016     EXPORT KDEPIMADDONS
0017     )
0018 
0019 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0020     set_target_properties(kmail_expertplugin PROPERTIES UNITY_BUILD ON)
0021 endif()
0022 
0023 target_link_libraries(kmail_expertplugin
0024     KPim6::PimCommon KPim6::PimCommonAkonadi KF6::XmlGui KPim6::Libkdepim KF6::I18n
0025     )
0026 if(BUILD_TESTING)
0027     add_subdirectory(autotests)
0028 endif()