Commit 11ccc9c7 authored by Laurent Montel's avatar Laurent Montel
Browse files

Autogenerate categories file

parent c86857c1
......@@ -12,8 +12,8 @@ set(KIGO_VERSION "${KIGO_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
project(kigo VERSION ${KIGO_VERSION})
set (QT_MIN_VERSION "5.7.0")
set (KF5_MIN_VERSION "5.57.0")
set (QT_MIN_VERSION "5.12.0")
set (KF5_MIN_VERSION "5.68.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
......@@ -61,5 +61,6 @@ ecm_setup_version(${KIGO_VERSION}
add_subdirectory(src)
add_subdirectory(data)
add_subdirectory(doc)
install( FILES kigo.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} )
ecm_qt_install_logging_categories(EXPORT KIGO FILE kigo.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
org.kde.kdegames.kigo kigo (kdegames) IDENTIFIER [KIGO_LOG]
......@@ -22,7 +22,7 @@ ki18n_wrap_ui(kigo_SRCS
gui/widgets/gamewidget.ui
gui/widgets/setupwidget.ui
)
ecm_qt_declare_logging_category(kigo_SRCS HEADER kigo_debug.h IDENTIFIER KIGO_LOG CATEGORY_NAME org.kde.kdegames.kigo)
ecm_qt_declare_logging_category(kigo_SRCS HEADER kigo_debug.h IDENTIFIER KIGO_LOG CATEGORY_NAME org.kde.kdegames.kigo DESCRIPTION "kigo (kdegames)" EXPORT KIGO)
kconfig_add_kcfg_files(kigo_SRCS preferences.kcfgc)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../data/icons/*-apps-kigo.png")
......
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