Warning, /pim/kdepim-addons/plugins/messageviewerconfigureplugins/expireaccounttrashfolder/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 add_library(expireaccounttrashfolderconfig)
0004 target_sources(expireaccounttrashfolderconfig PRIVATE
0005     expireaccounttrashfolderconfigdialog.cpp
0006     expireaccounttrashfolderconfigwidget.cpp
0007 
0008     expireaccounttrashfolderconfigdialog.h
0009     expireaccounttrashfolderconfigwidget.h
0010     )
0011 
0012 ecm_qt_declare_logging_category(expireaccounttrashfolderconfig HEADER libexpireaccounttrashfolderconfig_debug.h IDENTIFIER LIBEXPIREACCOUNTTRASHFOLDERCONFIG_PLUGIN_LOG CATEGORY_NAME org.kde.pim.libexpireaccounttrashfolderconfig
0013     DESCRIPTION "kdepim-addons (expire account trash folder config)"
0014     EXPORT KDEPIMADDONS
0015     )
0016 
0017 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0018     set_target_properties(expireaccounttrashfolderconfig PROPERTIES UNITY_BUILD ON)
0019 endif()
0020 
0021 generate_export_header(expireaccounttrashfolderconfig BASE_NAME libexpireaccounttrashfolderconfig)
0022 target_link_libraries(expireaccounttrashfolderconfig
0023     KPim6::MessageViewer
0024     KF6::I18n
0025     KPim6::MailCommon
0026     )
0027 
0028 set_target_properties(expireaccounttrashfolderconfig
0029     PROPERTIES OUTPUT_NAME expireaccounttrashfolderconfig VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
0030     )
0031 
0032 install(TARGETS expireaccounttrashfolderconfig ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0033 
0034 
0035 
0036 kcoreaddons_add_plugin(messageviewer_expireaccounttrashfolderconfigplugin INSTALL_NAMESPACE pim6/messageviewer/configuresettings)
0037 target_sources(messageviewer_expireaccounttrashfolderconfigplugin PRIVATE
0038    expireaccounttrashfolderconfigplugin.cpp
0039    expireaccounttrashfolderconfigplugin.h
0040 )
0041 
0042 target_link_libraries(messageviewer_expireaccounttrashfolderconfigplugin
0043   KPim6::MessageViewer
0044   KF6::I18n
0045   KPim6::MailCommon
0046   expireaccounttrashfolderconfig
0047 )
0048 
0049 
0050 if(BUILD_TESTING)
0051     add_subdirectory(autotests)
0052 endif()