From bd7e304d486de1740b08fbc4f67359a5ef650706 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 17 Mar 2023 17:08:53 +0100 Subject: [PATCH] CMake: Write target architecture into module info files Store the target architecture in the module information files under the key 'built_with.architecture'. Task-number: QTBUG-111158 Change-Id: Ida4cde3b15103773824a8d9d78f082540b806736 Reviewed-by: Amir Masoud Abdol Reviewed-by: Alexandru Croitor --- cmake/ModuleDescription.json.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/ModuleDescription.json.in b/cmake/ModuleDescription.json.in index 4d07bfae46..93f9a5ed25 100644 --- a/cmake/ModuleDescription.json.in +++ b/cmake/ModuleDescription.json.in @@ -7,6 +7,7 @@ "compiler_target": "${CMAKE_CXX_COMPILER_TARGET}", "compiler_version": "${CMAKE_CXX_COMPILER_VERSION}", "cross_compiled": ${cross_compilation}, - "target_system": "${CMAKE_SYSTEM_NAME}" + "target_system": "${CMAKE_SYSTEM_NAME}", + "architecture": "${TEST_architecture_arch}" } }