diff options
author | Heikki Halmet <heikki.halmet@qt.io> | 2021-09-02 10:50:06 +0300 |
---|---|---|
committer | Heikki Halmet <heikki.halmet@qt.io> | 2021-09-30 09:32:11 +0000 |
commit | 755f7c7ff275e269f698f1fe07820717b9771d43 (patch) | |
tree | 93c68d8fc5aaf90d10bcc44adae34effed553f44 /coin | |
parent | 4f897584ec64d790ec8e58f10ad809847360d472 (diff) |
Add support for Microsoft Visual Studio 2022 Preview version
When official version is available variableValue path need to be
changed.
Task-number: QTQAINFRA-4540
Change-Id: Ie5fe676962297aa5f18f225eb4b8dfe0957671c8
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/instructions/prepare_building_env.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index 9217ccf132..7f7bf15fd1 100644 --- a/coin/instructions/prepare_building_env.yaml +++ b/coin/instructions/prepare_building_env.yaml @@ -201,6 +201,13 @@ instructions: condition: property property: host.compiler equals_value: MSVC2019 + - type: EnvironmentVariable + variableName: VC_SCRIPT + variableValue: "%ProgramFiles%\\Microsoft Visual Studio\\2022\\Preview\\VC\\Auxiliary\\Build\\vcvarsall.bat" + enable_if: + condition: property + property: host.compiler + equals_value: MSVC2022_PREVIEW # With MSVC we need setup the environment before every subprocess call, the group below creates a script that |