From 755f7c7ff275e269f698f1fe07820717b9771d43 Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Thu, 2 Sep 2021 10:50:06 +0300 Subject: 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 --- coin/instructions/prepare_building_env.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'coin/instructions') 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 -- cgit v1.2.3