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

Autogenerate categories file

parent ebf1dee4
......@@ -52,6 +52,6 @@ add_subdirectory(console)
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
install(FILES kscreen.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
ecm_qt_install_logging_categories(EXPORT KSCREEN FILE kscreen.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -18,6 +18,7 @@ ecm_qt_declare_logging_category(kcm_kscreen_SRCS
KSCREEN_KCM
CATEGORY_NAME
kscreen.kcm
DESCRIPTION "kscreen kcm (kscreen)" EXPORT KSCREEN
)
add_library(kcm_kscreen MODULE ${kcm_kscreen_SRCS})
......
......@@ -17,7 +17,7 @@ set(kscreen_daemon_SRCS
${CMAKE_SOURCE_DIR}/common/utils.cpp
)
ecm_qt_declare_logging_category(kscreen_daemon_SRCS HEADER kscreen_daemon_debug.h IDENTIFIER KSCREEN_KDED CATEGORY_NAME kscreen.kded)
ecm_qt_declare_logging_category(kscreen_daemon_SRCS HEADER kscreen_daemon_debug.h IDENTIFIER KSCREEN_KDED CATEGORY_NAME kscreen.kded DESCRIPTION "kscreen kded (kscreen)" EXPORT KSCREEN)
qt5_add_dbus_interface(kscreen_daemon_SRCS
org.freedesktop.DBus.Properties.xml
......
kscreen.kded kscreen kded (kscreen) IDENTIFIER [KSCREEN_KDED]
kscreen.kcm kscreen kcm (kscreen) IDENTIFIER [KSCREEN_KCM]
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