summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-12-23 21:11:40 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-12-30 10:25:53 +0000
commit47784b4352351f042d1e3b61e7151cdcc7c0bac1 (patch)
treef19b73a20b6c55a829ef58c9107d46d251c33ecf /mkspecs
parent7af6e9bbe6572dc7b692e5896d01e944ce63fa16 (diff)
re-introduce config.summary
Task-number: QTBUG-56225 Change-Id: I954cc1055ab0168c06b6618d02b06f63b4122add Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_configure.prf36
1 files changed, 12 insertions, 24 deletions
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index e8bddbf09f..ca66862abc 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -1368,33 +1368,21 @@ defineTest(qtConfCreateSummary) {
}
defineTest(qtConfPrintReport) {
- for (n, QT_CONFIGURE_REPORT): \
- logn($$n)
- logn()
-
- for (n, QT_CONFIGURE_NOTES) {
- logn($$n)
- logn()
- }
-
- for (w, QT_CONFIGURE_WARNINGS) {
- logn($$w)
- logn()
- }
+ blocks = \
+ "$$join(QT_CONFIGURE_REPORT, $$escape_expand(\\n))" \
+ "$$join(QT_CONFIGURE_NOTES, $$escape_expand(\\n\\n))" \
+ "$$join(QT_CONFIGURE_WARNINGS, $$escape_expand(\\n\\n))"
!isEmpty(QT_CONFIGURE_ERRORS) {
- for (e, QT_CONFIGURE_ERRORS) {
- logn($$e)
- logn()
- }
- mention_config_log:!$$QMAKE_CONFIG_VERBOSE {
- logn("Check config.log for details.")
- logn()
- }
-
- !equals(config.input.continue, yes): \
- error()
+ blocks += "$$join(QT_CONFIGURE_ERRORS, $$escape_expand(\\n\\n))"
+ mention_config_log:!$$QMAKE_CONFIG_VERBOSE: \
+ blocks += "Check config.log for details."
}
+ blocks = "$$join(blocks, $$escape_expand(\\n\\n))"
+ logn($$blocks)
+ !isEmpty(QT_CONFIGURE_ERRORS):!equals(config.input.continue, yes): \
+ error()
+ write_file($$OUT_PWD/config.summary, blocks)|error()
}
defineTest(qtConfCheckErrors) {