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

Autogenerate more categories

parent 94c88bd5
......@@ -3,7 +3,16 @@ set(webengineviewer_webengineurlinterceptor_donottrack_SRCS
donottrackpluginurlinterceptor.cpp
)
ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_donottrack_SRCS HEADER donottrackinterceptor_debug.h IDENTIFIER DONOTTRACKINTERCEPTOR_LOG CATEGORY_NAME org.kde.pim.donottrackinterceptor)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_donottrack_SRCS HEADER donottrackinterceptor_debug.h IDENTIFIER DONOTTRACKINTERCEPTOR_LOG CATEGORY_NAME org.kde.pim.donottrackinterceptor)
else()
ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_donottrack_SRCS HEADER donottrackinterceptor_debug.h IDENTIFIER DONOTTRACKINTERCEPTOR_LOG CATEGORY_NAME org.kde.pim.donottrackinterceptor
DESCRIPTION "kdepim-addons (do not track interceptor)"
OLD_CATEGORY_NAMES log_donottrackinterceptor
EXPORT KDEPIMADDONS
)
endif()
kconfig_add_kcfg_files(webengineviewer_webengineurlinterceptor_donottrack_SRCS
settings/donottracksettings.kcfgc
......
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(sieveeditoremaillinedit_plugin_categories_SRCS)
ecm_qt_declare_logging_category(sieveeditoremaillinedit_plugin_categories_SRCS HEADER sieveeditoremaillineditplugin_debug.h IDENTIFIER
EMAILLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.sieveeditoremaillinedit)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(sieveeditoremaillinedit_plugin_categories_SRCS HEADER sieveeditoremaillineditplugin_debug.h IDENTIFIER
EMAILLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.sieveeditoremaillinedit)
else()
ecm_qt_declare_logging_category(sieveeditoremaillinedit_plugin_categories_SRCS HEADER sieveeditoremaillineditplugin_debug.h IDENTIFIER
EMAILLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.sieveeditoremaillinedit
DESCRIPTION "kdepim-addons (SieveEditor email line plugin)"
EXPORT KDEPIMADDONS
)
endif()
if(BUILD_TESTING)
add_subdirectory(tests)
......
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(sieveeditor_plugin_categories_SRCS)
ecm_qt_declare_logging_category(sieveeditor_plugin_categories_SRCS HEADER imapfoldercompletionplugin_debug.h IDENTIFIER
IMAPFOLDERCOMPLETIONPLUGIN_LOG CATEGORY_NAME org.kde.pim.imapfoldercompletion)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(sieveeditor_plugin_categories_SRCS HEADER imapfoldercompletionplugin_debug.h IDENTIFIER
IMAPFOLDERCOMPLETIONPLUGIN_LOG CATEGORY_NAME org.kde.pim.imapfoldercompletion)
else()
ecm_qt_declare_logging_category(sieveeditor_plugin_categories_SRCS HEADER imapfoldercompletionplugin_debug.h IDENTIFIER
IMAPFOLDERCOMPLETIONPLUGIN_LOG CATEGORY_NAME org.kde.pim.imapfoldercompletion
DESCRIPTION "kdepim-addons (SieveEditor imap completion folder)"
EXPORT KDEPIMADDONS
)
endif()
if(BUILD_TESTING)
add_subdirectory(tests)
......
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(sieveeditorregexp_plugin_categories_SRCS)
ecm_qt_declare_logging_category(sieveeditorregexp_plugin_categories_SRCS HEADER regexpeditorlineeditplugin_debug.h IDENTIFIER
REGEXPEDITORLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.regexpeditorlineedit)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(sieveeditorregexp_plugin_categories_SRCS HEADER regexpeditorlineeditplugin_debug.h IDENTIFIER
REGEXPEDITORLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.regexpeditorlineedit)
else()
ecm_qt_declare_logging_category(sieveeditorregexp_plugin_categories_SRCS HEADER regexpeditorlineeditplugin_debug.h IDENTIFIER
REGEXPEDITORLINEEDITPLUGIN_LOG CATEGORY_NAME org.kde.pim.regexpeditorlineedit
DESCRIPTION "kdepim-addons (SieveEditor Regexp Editor plugin)"
EXPORT KDEPIMADDONS
)
endif()
if(BUILD_TESTING)
......
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