summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-03-26 17:28:20 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-04-02 09:39:31 +0200
commit560e8547b322b067348f57690462332b5943b394 (patch)
tree5667c0895700922b660935d52f60fabc88e68e6a /util/cmake/configurejson2cmake.py
parent7dfa00e1ccef3ce9f29d54bde55411da9f71bcc5 (diff)
CMake: Report which qt parts will be built by default
Like libs, tools, examples, tests. Built by default means they are part of the default make / ninja target. Change-Id: I304e5724fc5dbd39626e9d589a6e1e92a4dd7882 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 8887adb22b..5f60e55ca4 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -1152,6 +1152,9 @@ def processSummaryHelper(ctx, entries, cm_fh):
elif "type" in entry and entry["type"] == "buildMode":
message = entry["message"]
cm_fh.write(f"qt_configure_add_summary_build_mode({message})\n")
+ elif "type" in entry and entry["type"] == "buildParts":
+ message = entry["message"]
+ cm_fh.write(f'qt_configure_add_summary_build_parts("{message}")\n')
elif "section" in entry:
section = entry["section"]
cm_fh.write(f'qt_configure_add_summary_section(NAME "{section}")\n')