Warning, /pim/kdepim-addons/plugins/messageviewerconfigureplugins/scamsettings/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 add_library(scamconfiguresettings)
0005 
0006 target_sources(scamconfiguresettings PRIVATE
0007     scamconfiguresettingsdialog.cpp
0008     scamconfiguresettingswidget.cpp
0009     scamconfigureutils.cpp
0010     scamconfiguresettingsdialog.h
0011     scamconfiguresettingswidget.h
0012     scamconfigureutils.h
0013     scamconfiguresettingstreewidget.h
0014     scamconfiguresettingstreewidget.cpp
0015     )
0016 
0017 ecm_qt_declare_logging_category(scamconfiguresettings HEADER libscamconfiguresettings_debug.h IDENTIFIER LIBSCAMCONFIGURESETTINGS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.libfolderconfiguresettingsplugin
0018     DESCRIPTION "kdepim-addons (scamettings-configure)"
0019     EXPORT KDEPIMADDONS
0020     )
0021 
0022 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0023     set_target_properties(scamconfiguresettings PROPERTIES UNITY_BUILD ON)
0024 endif()
0025 
0026 generate_export_header(scamconfiguresettings BASE_NAME libscamconfiguresettings)
0027 target_link_libraries(scamconfiguresettings
0028     KPim6::MessageViewer
0029     KF6::I18n
0030     )
0031 
0032 set_target_properties(scamconfiguresettings
0033     PROPERTIES OUTPUT_NAME scamconfiguresettings VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
0034     )
0035 
0036 install(TARGETS scamconfiguresettings ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0037 
0038 
0039 
0040 ######
0041 kcoreaddons_add_plugin(messageviewer_scamconfiguresettingsplugin INSTALL_NAMESPACE pim6/messageviewer/configuresettings)
0042 
0043 target_sources(messageviewer_scamconfiguresettingsplugin PRIVATE
0044    scamconfiguresettingsplugin.cpp
0045    scamconfiguresettingsplugin.h
0046 )
0047 
0048 
0049 target_link_libraries(messageviewer_scamconfiguresettingsplugin
0050   KPim6::MessageViewer
0051   scamconfiguresettings
0052 )
0053 
0054 
0055 if(BUILD_TESTING)
0056     add_subdirectory(autotests)
0057 endif()