diff options
Diffstat (limited to 'coin/instructions/prepare_building_env.yaml')
-rw-r--r-- | coin/instructions/prepare_building_env.yaml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index e389b6c1db..22669d6e50 100644 --- a/coin/instructions/prepare_building_env.yaml +++ b/coin/instructions/prepare_building_env.yaml @@ -94,6 +94,13 @@ instructions: property: host.arch equals_property: X86_64 - type: EnvironmentVariable + variableName: TARGET_ARCHITECTURE + variableValue: x64_arm64 + enable_if: + condition: property + property: target.arch + equals_value: ARM64 + - type: EnvironmentVariable # HACK. Overwrite TARGET_ARCHITECTURE as we do not use standard MSVC cross # compilation targets here. The target architecture will be detected by Qt. variableName: TARGET_ARCHITECTURE @@ -259,6 +266,22 @@ instructions: property: target.osVersion equals_value: QEMU + # Windows on Arm, cross-compilation with MSVC + - type: Group + enable_if: + condition: and + conditions: + - condition: property + property: host.compiler + equals_value: MSVC2019 + - condition: property + property: target.arch + equals_value: ARM64 + instructions: + - type: EnvironmentVariable + variableName: TARGET_ENV_PREFIX + variableValue: "c:\\users\\qt\\prefix.bat" + # QNX variables - type: Group enable_if: @@ -292,4 +315,3 @@ instructions: property: host.os equals_value: Linux - |