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

Autogenerate categories files

parent 5417bc61
......@@ -34,6 +34,12 @@ add_subdirectory(doc)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kcron.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kcron.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
ecm_qt_install_logging_categories(
EXPORT KCRON
FILE kcron.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
org.kde.kcm.cron kcm cron IDENTIFIER [KCM_CRON_LOG]
......@@ -26,8 +26,7 @@ set(kcron_crontablib_SRCS
crontablib/ctHelper.cpp
)
ecm_qt_declare_logging_category(kcron_crontablib_SRCS HEADER kcm_cron_debug.h IDENTIFIER KCM_CRON_LOG CATEGORY_NAME org.kde.kcm.cron)
ecm_qt_declare_logging_category(kcron_crontablib_SRCS HEADER kcm_cron_debug.h IDENTIFIER KCM_CRON_LOG CATEGORY_NAME org.kde.kcm.cron DESCRIPTION "kcm cron" EXPORT KCRON)
set(kcm_cron_SRCS
${kcron_crontablib_SRCS}
......
Markdown is supported
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