From 97d9e9e68a371324ed2ad1e367c0ceba06a9eb6e Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Tue, 2 Mar 2021 09:22:34 +0100 Subject: [PATCH] cmake: Extend qt_configure_add_summary_section by a message type With the existing types we can only display a list of features or whether a feature is on or off, but we cannot display arbitrary values. Using the new message type, it is possible to show paths or versions as summary entries. Change-Id: I5d16cb4b30923f3566755bd4d7440bdd1ece82f5 Reviewed-by: Joerg Bornemann --- cmake/QtBuildInformation.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake index 90e45b26dd2..c010ff631df 100644 --- a/cmake/QtBuildInformation.cmake +++ b/cmake/QtBuildInformation.cmake @@ -261,6 +261,8 @@ function(qt_configure_process_add_summary_entry) endif() qt_configure_add_report_padded("${label}" "${value}") + elseif(arg_TYPE STREQUAL "message") + qt_configure_add_report_padded("${arg_ARGS}" "${arg_MESSAGE}") endif() endfunction()