Commit bd99eb3e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use more cmake target code

parent 5e50432a
Pipeline #75908 failed with stage
in 3 minutes and 38 seconds
set(ksystemlog_config_SRCS
dummyConfig.cpp
)
kconfig_add_kcfg_files(ksystemlog_config_SRCS ksystemlogConfig.kcfgc)
add_library(ksystemlog_config STATIC ${ksystemlog_config_SRCS})
add_library(ksystemlog_config STATIC dummyConfig.cpp)
kconfig_add_kcfg_files(ksystemlog_config ksystemlogConfig.kcfgc)
target_link_libraries(ksystemlog_config
KF5::ConfigGui
......
......@@ -4,8 +4,8 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
${CMAKE_CURRENT_BINARY_DIR}/../config
)
set(ksystemlog_lib_sources
add_library(ksystemlog_lib STATIC ${ksystemlog_lib_sources})
target_sources(ksystemlog_lib PRIVATE
analyzer.cpp
fileAnalyzer.cpp
logModeFactory.cpp
......@@ -37,11 +37,11 @@ set(ksystemlog_lib_sources
multipleActions.cpp
levelPrintPage.cpp
)
ecm_qt_declare_logging_category(ksystemlog_lib_sources HEADER ksystemlog_debug.h IDENTIFIER KSYSTEMLOG CATEGORY_NAME log_ksystemlog DESCRIPTION "ksystemlog" EXPORT KSYSTEMLOG)
ecm_qt_declare_logging_category(ksystemlog_lib HEADER ksystemlog_debug.h IDENTIFIER KSYSTEMLOG CATEGORY_NAME log_ksystemlog DESCRIPTION "ksystemlog" EXPORT KSYSTEMLOG)
ki18n_wrap_ui(ksystemlog_lib logViewSearchWidgetBase.ui)
ki18n_wrap_ui(ksystemlog_lib_sources logViewSearchWidgetBase.ui)
add_library(ksystemlog_lib STATIC ${ksystemlog_lib_sources})
add_dependencies(
ksystemlog_lib
......
add_library(ksystemlog_acpid STATIC)
set(ksystemlog_acpid_sources
target_sources(ksystemlog_acpid PRIVATE
acpidConfigurationWidget.cpp
acpidConfiguration.cpp
acpidAnalyzer.cpp
......@@ -8,7 +9,6 @@ set(ksystemlog_acpid_sources
acpidFactory.cpp
)
add_library(ksystemlog_acpid STATIC ${ksystemlog_acpid_sources})
add_dependencies(
ksystemlog_acpid
......
set(ksystemlog_apache_sources
add_library(ksystemlog_apache STATIC ${ksystemlog_apache_sources})
target_sources(ksystemlog_apache PRIVATE
apacheConfiguration.cpp
apacheConfigurationWidget.cpp
apacheAnalyzer.cpp
......@@ -10,7 +12,6 @@ set(ksystemlog_apache_sources
apacheAccessLogMode.cpp
)
add_library(ksystemlog_apache STATIC ${ksystemlog_apache_sources})
add_dependencies(
ksystemlog_apache
......
set(ksystemlog_authentication_sources
add_library(ksystemlog_authentication STATIC)
target_sources(ksystemlog_authentication PRIVATE
authenticationConfigurationWidget.cpp
authenticationConfiguration.cpp
authenticationAnalyzer.cpp
......@@ -6,7 +8,6 @@ set(ksystemlog_authentication_sources
authenticationFactory.cpp
)
add_library(ksystemlog_authentication STATIC ${ksystemlog_authentication_sources})
add_dependencies(
ksystemlog_authentication
......
set(ksystemlog_base_mode_sources
add_library(ksystemlog_base_mode STATIC)
target_sources(ksystemlog_base_mode PRIVATE
parsingHelper.cpp
fileList.cpp
logLevelFileList.cpp
......@@ -14,7 +16,6 @@ ki18n_wrap_ui(ksystemlog_base_mode_sources multipleFileListBase.ui )
ki18n_wrap_ui(ksystemlog_base_mode_sources logLevelSelectionDialogBase.ui )
add_library(ksystemlog_base_mode STATIC ${ksystemlog_base_mode_sources})
add_dependencies(
ksystemlog_base_mode
......
set(ksystemlog_cron_sources
add_library(ksystemlog_cron STATIC)
target_sources(ksystemlog_cron PRIVATE
cronConfigurationWidget.cpp
cronConfiguration.cpp
cronAnalyzer.cpp
......@@ -7,7 +9,6 @@ set(ksystemlog_cron_sources
cronFactory.cpp
)
add_library(ksystemlog_cron STATIC ${ksystemlog_cron_sources})
add_dependencies(
ksystemlog_cron
......
set(ksystemlog_cups_sources
add_library(ksystemlog_cups STATIC)
target_sources(ksystemlog_cups PRIVATE
cupsConfiguration.cpp
cupsConfigurationWidget.cpp
......@@ -22,7 +24,6 @@ set(ksystemlog_cups_sources
)
add_library(ksystemlog_cups STATIC ${ksystemlog_cups_sources})
add_dependencies(
ksystemlog_cups
......
set(ksystemlog_daemon_sources
add_library(ksystemlog_daemon STATIC)
target_sources(ksystemlog_daemon PRIVATE
daemonConfigurationWidget.cpp
daemonConfiguration.cpp
daemonLogMode.cpp
daemonFactory.cpp
)
add_library(ksystemlog_daemon STATIC ${ksystemlog_daemon_sources})
add_dependencies(
ksystemlog_daemon
......
set(ksystemlog_kernel_sources
add_library(ksystemlog_kernel STATIC)
target_sources(ksystemlog_kernel PRIVATE
kernelFactory.cpp
kernelAnalyzer.cpp
kernelLogMode.cpp
kernelItemBuilder.cpp
)
add_library(ksystemlog_kernel STATIC ${ksystemlog_kernel_sources})
add_dependencies(
ksystemlog_kernel
......
set(ksystemlog_open_sources
add_library(ksystemlog_open STATIC)
target_sources(ksystemlog_open PRIVATE
openAnalyzer.cpp
openFactory.cpp
openLogMode.cpp
)
add_library(ksystemlog_open STATIC ${ksystemlog_open_sources})
add_dependencies(
ksystemlog_open
......
set(ksystemlog_postfix_sources
add_library(ksystemlog_postfix STATIC)
target_sources(ksystemlog_postfix PRIVATE
postfixFactory.cpp
postfixConfigurationWidget.cpp
postfixConfiguration.cpp
......@@ -6,7 +7,6 @@ set(ksystemlog_postfix_sources
postfixLogMode.cpp
)
add_library(ksystemlog_postfix STATIC ${ksystemlog_postfix_sources})
add_dependencies(
ksystemlog_postfix
......
set(ksystemlog_samba_sources
add_library(ksystemlog_samba STATIC)
target_sources(ksystemlog_samba PRIVATE
sambaConfiguration.cpp
sambaConfigurationWidget.cpp
sambaAnalyzer.cpp
......@@ -10,7 +11,6 @@ set(ksystemlog_samba_sources
)
add_library(ksystemlog_samba STATIC ${ksystemlog_samba_sources})
add_dependencies(
ksystemlog_samba
......
set(ksystemlog_system_sources
add_library(ksystemlog_system STATIC)
target_sources(ksystemlog_system PRIVATE
systemFactory.cpp
systemConfigurationWidget.cpp
systemConfiguration.cpp
......@@ -6,7 +7,6 @@ set(ksystemlog_system_sources
systemLogMode.cpp
)
add_library(ksystemlog_system STATIC ${ksystemlog_system_sources})
add_dependencies(
ksystemlog_system
......
set(ksystemlog_xorg_sources
add_library(ksystemlog_xorg STATIC)
target_sources(ksystemlog_xorg PRIVATE
xorgConfigurationWidget.cpp
xorgConfiguration.cpp
xorgAnalyzer.cpp
......@@ -7,7 +8,6 @@ set(ksystemlog_xorg_sources
xorgFactory.cpp
)
add_library(ksystemlog_xorg STATIC ${ksystemlog_xorg_sources})
add_dependencies(
ksystemlog_xorg
......
set(ksystemlog_xsession_sources
add_library(ksystemlog_xsession STATIC)
target_sources(ksystemlog_xsession PRIVATE
xsessionConfigurationWidget.cpp
xsessionConfiguration.cpp
xsessionAnalyzer.cpp
......@@ -9,7 +10,6 @@ set(ksystemlog_xsession_sources
ki18n_wrap_ui(ksystemlog_xsession_sources xsessionConfigurationWidgetBase.ui )
add_library(ksystemlog_xsession STATIC ${ksystemlog_xsession_sources})
add_dependencies(
ksystemlog_xsession
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment