CMake: Store whether a module is internal in module json files

Change-Id: Ic7e5e3b69a41a7723643332bebbde76854966b89
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 85d235877d9da5725841bd53db4e2c1c858a2d94)
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2022-12-09 17:05:09 +01:00
parent 827c0b2e87
commit d061b3108b

View File

@ -1065,6 +1065,11 @@ function(qt_describe_module target)
endif()
endif()
get_target_property(is_internal ${target} _qt_is_internal_module)
if(is_internal)
string(APPEND extra_module_information "\n \"internal\": true,")
endif()
set(extra_build_information "")
if(ANDROID)
string(APPEND extra_build_information "