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

Pick-to: 6.5
Change-Id: Ic7e5e3b69a41a7723643332bebbde76854966b89
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Joerg Bornemann 2022-12-09 17:05:09 +01:00
parent 2a732020ff
commit 85d235877d

View File

@ -1070,6 +1070,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 "