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>
bb10
Heikki Halmet 2021-09-02 10:50:06 +03:00
parent 4f897584ec
commit 755f7c7ff2
1 changed files with 7 additions and 0 deletions

View File

@ -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