Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Sieve Editor
Commits
982312bd
Commit
982312bd
authored
Feb 11, 2020
by
Laurent Montel
Browse files
Use new macro for autogenerating categories file
parent
5f6d71f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
982312bd
...
...
@@ -89,7 +89,9 @@ add_subdirectory(src)
if
(
BUILD_TESTING
)
add_subdirectory
(
autotests
)
endif
()
install
(
FILES sieveeditor.renamecategories sieveeditor.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
if
(
ECM_VERSION VERSION_LESS
"5.68.0"
)
install
(
FILES sieveeditor.renamecategories sieveeditor.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
endif
()
add_subdirectory
(
doc
)
feature_summary
(
WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES
)
...
...
src/CMakeLists.txt
View file @
982312bd
...
...
@@ -67,7 +67,15 @@ ki18n_wrap_ui(sieveeditor_LIB_SRCS
qt5_add_resources
(
sieveeditor_LIB_SRCS sieveeditor.qrc
)
ecm_qt_declare_logging_category
(
sieveeditor_LIB_SRCS HEADER sieveeditor_debug.h IDENTIFIER SIEVEEDITOR_LOG CATEGORY_NAME org.kde.pim.sieveeditor
)
if
(
ECM_VERSION VERSION_LESS
"5.68.0"
)
ecm_qt_declare_logging_category
(
sieveeditor_LIB_SRCS HEADER sieveeditor_debug.h IDENTIFIER SIEVEEDITOR_LOG CATEGORY_NAME org.kde.pim.sieveeditor
)
else
()
ecm_qt_declare_logging_category
(
sieveeditor_LIB_SRCS HEADER sieveeditor_debug.h
IDENTIFIER SIEVEEDITOR_LOG
CATEGORY_NAME org.kde.pim.sieveeditor
OLD_CATEGORY_NAMES log_sieveeditor
DESCRIPTION
"sieveeditor (sieveeditor)"
EXPORT SIEVEEDITOR
)
endif
()
add_library
(
libsieveeditor
${
sieveeditor_LIB_SRCS
}
)
...
...
@@ -124,4 +132,7 @@ if (BUILD_TESTING)
endif
()
install
(
FILES org.kde.sieveeditor.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
if
(
NOT ECM_VERSION VERSION_LESS
"5.68.0"
)
ecm_qt_install_logging_categories
(
EXPORT SIEVEEDITOR FILE sieveeditor.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
endif
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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