Warning, /pim/kdepim-addons/kmail/plugins/akonadidatabasetools/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 add_library(akonadidatasetools) 0004 0005 0006 ecm_qt_declare_logging_category(akonadidatasetools HEADER akonadidatasetools_debug.h IDENTIFIER AKONADIDATABASETOOLS_LOG CATEGORY_NAME org.kde.pim.akonadidatabasetools 0007 DESCRIPTION "kdepim-addons (akonadidatabasetools)" 0008 EXPORT KDEPIMADDONS 0009 ) 0010 0011 target_sources(akonadidatasetools PRIVATE 0012 akonadidatabasetoolsplugininterface.cpp 0013 akonadidatabasetoolsplugininterface.h 0014 akonadidatabasetoolsjob.h 0015 akonadidatabasetoolsjob.cpp 0016 akonadidatabasetoolsutils.cpp 0017 akonadidatabasetoolsutils.h 0018 akonadidatabasetoolsdialog.h 0019 akonadidatabasetoolsdialog.cpp 0020 akonadidatabasetoolswidget.h 0021 akonadidatabasetoolswidget.cpp 0022 ) 0023 generate_export_header(akonadidatasetools BASE_NAME akonadidatasetools) 0024 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0025 set_target_properties(akonadidatasetools PROPERTIES UNITY_BUILD ON) 0026 endif() 0027 0028 target_link_libraries(akonadidatasetools 0029 KF6::I18n 0030 KPim6::MessageComposer 0031 KF6::KIOWidgets 0032 KF6::XmlGui 0033 ) 0034 0035 set_target_properties(akonadidatasetools 0036 PROPERTIES OUTPUT_NAME akonadidatasetools VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION} 0037 ) 0038 0039 kcoreaddons_add_plugin(kmail_akonadidatabasetoolplugin INSTALL_NAMESPACE pim6/kmail/mainview) 0040 target_sources(kmail_akonadidatabasetoolplugin PRIVATE 0041 akonadidatabasetoolsplugin.cpp 0042 akonadidatabasetoolsplugin.h 0043 ) 0044 0045 target_link_libraries(kmail_akonadidatabasetoolplugin 0046 KPim6::PimCommon KPim6::PimCommonAkonadi KF6::XmlGui KPim6::Libkdepim KF6::I18n akonadidatasetools 0047 ) 0048 0049 install(TARGETS akonadidatasetools ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0050 0051 if(BUILD_TESTING) 0052 add_subdirectory(autotests) 0053 add_subdirectory(tests) 0054 endif()