summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuildInformation.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-04-06 11:38:26 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-04-17 20:42:37 +0200
commit2e89c61f58db1ce54411ccd9584dd1a3e0a02688 (patch)
tree6c45142842d5349e9e078a6eef3bb77b35a83391 /cmake/QtBuildInformation.cmake
parent9fc13a11886e154383b157f1309204c7eb9ba69f (diff)
CMake: Write QT_BUILD_PARTS to qmodule.pri
Change-Id: I4bddba38b51df3c70780d94f64a31b3040cb0bc8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBuildInformation.cmake')
-rw-r--r--cmake/QtBuildInformation.cmake15
1 files changed, 1 insertions, 14 deletions
diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake
index 8a210a1b08..08d49aeba8 100644
--- a/cmake/QtBuildInformation.cmake
+++ b/cmake/QtBuildInformation.cmake
@@ -292,20 +292,7 @@ function(qt_configure_add_summary_build_parts)
endfunction()
function(qt_configure_process_add_summary_build_parts label)
- set(parts "libs")
-
- if(BUILD_EXAMPLES AND NOT QT_NO_MAKE_EXAMPLES)
- list(APPEND parts "examples")
- endif()
-
- if(BUILD_TESTING AND NOT QT_NO_MAKE_TESTS)
- list(APPEND parts "tests")
- endif()
-
- if(NOT CMAKE_CROSSCOMPILING)
- list(APPEND parts "tools")
- endif()
-
+ qt_get_build_parts(parts)
string(REPLACE ";" " " message "${parts}")
qt_configure_add_report_padded("${label}" "${message}")
endfunction()