Warning, /pim/akregator/configuration/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: CC0-1.0
0002 # SPDX-FileCopyrightText: none
0003 include_directories(
0004 ${akregator_BINARY_DIR}/interfaces
0005 ${akregator_SOURCE_DIR}/interfaces
0006 )
0007
0008 ########### next target ###############
0009
0010 add_library(akregator_config_general MODULE)
0011 target_sources(akregator_config_general PRIVATE akregator_config_general.cpp akregator_config_general.h)
0012
0013 ki18n_wrap_ui(akregator_config_general ui/settings_general.ui)
0014
0015 target_link_libraries(akregator_config_general
0016 akregatorinterfaces
0017 KF6::TextWidgets
0018 KF6::KCMUtils
0019 KF6::I18n
0020 )
0021
0022 install(TARGETS akregator_config_general DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0023
0024 ########### next target ###############
0025
0026 add_library(akregator_config_appearance MODULE )
0027 target_sources(akregator_config_appearance PRIVATE akregator_config_appearance.cpp akregator_config_appearance.h)
0028
0029 ki18n_wrap_ui(akregator_config_appearance ui/settings_appearance.ui)
0030
0031 target_link_libraries(akregator_config_appearance
0032 akregatorinterfaces
0033 KF6::TextWidgets
0034 KF6::KCMUtils
0035 KF6::I18n
0036 )
0037
0038 install(TARGETS akregator_config_appearance DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0039
0040 ########### next target ###############
0041
0042 add_library(akregator_config_archive MODULE)
0043 target_sources(akregator_config_archive PRIVATE akregator_config_archive.cpp akregator_config_archive.h)
0044
0045 ki18n_wrap_ui(akregator_config_archive ui/settings_archive.ui)
0046
0047 target_link_libraries(akregator_config_archive
0048 KF6::KCMUtils
0049 akregatorinterfaces
0050 KF6::TextWidgets
0051 KF6::I18n
0052 )
0053 install(TARGETS akregator_config_archive DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0054
0055 ########### next target ###############
0056
0057 add_library(akregator_config_browser MODULE )
0058 target_sources(akregator_config_browser PRIVATE akregator_config_browser.cpp akregator_config_browser.h)
0059
0060 ki18n_wrap_ui(akregator_config_browser ui/settings_browser.ui)
0061
0062 target_link_libraries(akregator_config_browser
0063 akregatorinterfaces
0064 KF6::KCMUtils
0065 KF6::I18n
0066
0067 )
0068
0069 install(TARGETS akregator_config_browser DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0070
0071 ########### next target ###############
0072
0073 add_library(akregator_config_advanced MODULE)
0074 target_sources(akregator_config_advanced PRIVATE
0075 akregator_config_advanced.cpp
0076 settings_advanced.cpp
0077 akregator_config_advanced.h
0078 settings_advanced.h
0079 )
0080
0081 ki18n_wrap_ui(akregator_config_advanced ui/settings_advancedbase.ui)
0082
0083 target_link_libraries(akregator_config_advanced
0084 akregatorinterfaces
0085 KF6::TextWidgets
0086 KF6::KCMUtils
0087 KF6::I18n
0088 )
0089 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0090 set_target_properties(akregator_config_advanced PROPERTIES UNITY_BUILD ON)
0091 endif()
0092 install(TARGETS akregator_config_advanced DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0093
0094
0095 ########### next target ###############
0096 add_library(akregator_config_plugins MODULE)
0097
0098 target_sources(akregator_config_plugins PRIVATE
0099 akregator_config_plugins.cpp
0100 akregatorconfigurepluginlistwidget.cpp
0101 akregator_config_plugins.h
0102 akregatorconfigurepluginlistwidget.h
0103 )
0104
0105 ecm_qt_declare_logging_category(akregator_config_plugins HEADER kcm_config_plugins_debug.h IDENTIFIER AKREGATOR_CONFIG_PLUGIN_LOG CATEGORY_NAME org.kde.pim.akregator_config_plugin
0106 DESCRIPTION "akregator config plugin (akregator)"
0107 EXPORT AKREGATOR
0108 )
0109
0110
0111
0112 target_link_libraries(akregator_config_plugins
0113 akregatorinterfaces
0114 KF6::KCMUtils
0115 KF6::I18n
0116 KPim6::WebEngineViewer
0117 )
0118 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0119 set_target_properties(akregator_config_plugins PROPERTIES UNITY_BUILD ON)
0120 endif()
0121
0122 install(TARGETS akregator_config_plugins DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0123
0124
0125 ########### next target ###############
0126 if (TARGET KF6::UserFeedbackWidgets)
0127 add_library(akregator_config_userfeedback MODULE)
0128 target_sources(akregator_config_userfeedback PRIVATE akregator_config_userfeedback.cpp akregator_config_userfeedback.h)
0129
0130
0131 target_link_libraries(akregator_config_userfeedback
0132 akregatorinterfaces
0133 KF6::TextWidgets
0134 KF6::KCMUtils
0135 KF6::I18n
0136 KF6::UserFeedbackWidgets
0137 )
0138
0139 install(TARGETS akregator_config_userfeedback DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)
0140 endif()
0141
0142
0143 ###########
0144 add_library(akregator_config_security MODULE)
0145
0146 target_sources(akregator_config_security PRIVATE
0147 akregator_config_security.cpp
0148 akregator_config_security.h
0149 )
0150
0151 ki18n_wrap_ui(akregator_config_security ui/settings_security.ui)
0152
0153 target_link_libraries(akregator_config_security
0154 akregatorinterfaces
0155 KF6::KCMUtils
0156 KF6::I18n
0157 KPim6::WebEngineViewer
0158 )
0159 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0160 set_target_properties(akregator_config_security PROPERTIES UNITY_BUILD ON)
0161 endif()
0162
0163 install(TARGETS akregator_config_security DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/kcms/akregator)