diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-04-18 22:24:23 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-04-19 10:41:05 +0000 |
commit | d38fd9fa901cd7f30821367b831676837eb82fe3 (patch) | |
tree | 307cf3c6e5ec9fe650ce9f61fa30f90c43063125 /share/qbs/modules | |
parent | 0976a94724854501a12581201b2c6d860a0f6dd4 (diff) | |
download | qbs-d38fd9fa901cd7f30821367b831676837eb82fe3.tar.gz |
Fix detecting MSVC via Probe when multiple versions are present
Previously, Qbs iterated over different versions in the ascending order.
During the setup-toolchains this means that the newest one will be
written in the settings as only the last one is actually written.
When running ClBinaryProbe, the first one (i.e. the oldest was picked
up) which did not work well with vcvarsall (without -vcvars_ver
parameter, it uses the newest one). So, pick up the newest compiler both
when running setup-toolchains and when detecting via Probe.
Task-number: QBS-1498
Change-Id: Ib1b433ca7e17747dee986ba383a3c01ee91851fb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules')
0 files changed, 0 insertions, 0 deletions