diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-03-17 17:08:53 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-03-21 17:11:09 +0100 |
commit | bd7e304d486de1740b08fbc4f67359a5ef650706 (patch) | |
tree | 666bc49fa2142b5e74f18479b58d00fd36067206 | |
parent | f5c55da04bc53bcaf93bdb34588ef21af10333c6 (diff) |
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 <amir.abdol@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | cmake/ModuleDescription.json.in | 3 |
1 files changed, 2 insertions, 1 deletions
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}" } } |