Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KLettres
Commits
42940165
Commit
42940165
authored
Jan 07, 2021
by
Laurent Montel
Browse files
Autogenerate categories file
parent
4dfe636b
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
42940165
...
...
@@ -9,8 +9,8 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project
(
klettres VERSION
${
RELEASE_SERVICE_VERSION
}
)
set
(
QT_MIN_VERSION
"5.1
1
.0"
)
set
(
KF5_MIN_VERSION
"5.
57
.0"
)
set
(
QT_MIN_VERSION
"5.1
2
.0"
)
set
(
KF5_MIN_VERSION
"5.
68
.0"
)
# we need some parts of the ECM CMake helpers
...
...
@@ -67,12 +67,8 @@ if (KF5DocTools_FOUND)
endif
()
install
(
FILES org.kde.klettres.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
if
(
${
ECM_VERSION
}
STRGREATER
"5.58.0"
)
install
(
FILES klettres.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
else
()
install
(
FILES klettres.categories DESTINATION
${
KDE_INSTALL_CONFDIR
}
)
endif
()
ecm_qt_install_logging_categories
(
EXPORT KLETTRES FILE klettres.categorie DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
feature_summary
(
WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES
)
...
...
klettres.categories
deleted
100644 → 0
View file @
4dfe636b
log_klettres klettres IDENTIFIER [KLETTRES_LOG]
src/CMakeLists.txt
View file @
42940165
...
...
@@ -13,7 +13,7 @@ set(klettres_SRCS
timer.cpp
)
ecm_qt_declare_logging_category
(
klettres_SRCS HEADER klettres_debug.h IDENTIFIER KLETTRES_LOG CATEGORY_NAME log_klettres
)
ecm_qt_declare_logging_category
(
klettres_SRCS HEADER klettres_debug.h IDENTIFIER KLETTRES_LOG CATEGORY_NAME log_klettres
DESCRIPTION
"klettres"
EXPORT KLETTRES
)
ki18n_wrap_ui
(
klettres_SRCS
timerui.ui
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment