Set MSVC environment script specifically for MSVC

Current clause is too broad and new compilers do not work with it
properly. E.g. Clang.

Change-Id: I7afadfec07935e76882d27ec7ab408b0e597654b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Toni Saario 2020-09-30 14:04:48 +03:00
parent 4e94465096
commit a5b963c638
1 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ instructions:
equals_value: Windows
- condition: property
property: host.compiler
not_contains_value: Mingw
contains_value: MSVC
instructions:
# Try to pick one of many coexistent MSVC installation to use
# TODO cleanup, that could be much simpler if all tools are installed to similar paths, so it would
@ -205,7 +205,7 @@ instructions:
equals_value: Windows
- condition: property
property: host.compiler
not_contains_value: Mingw
contains_value: MSVC
- type: EnvironmentVariable
variableName: ENV_PREFIX
variableValue: "c:\\users\\qt\\prefix.bat"
@ -217,7 +217,7 @@ instructions:
equals_value: Windows
- condition: property
property: host.compiler
not_contains_value: Mingw
contains_value: MSVC
- type: EnvironmentVariable
variableName: ENV_PREFIX
variableValue: ""
@ -229,7 +229,7 @@ instructions:
equals_value: Windows
- condition: property
property: host.compiler
not_contains_value: Mingw
contains_value: MSVC
- type: Group
instructions: