VS: Add special case for '-T version=14.29.16.11' under VS 16.11

Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T
version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1) and updated by
commit a60141feaa (VS: Add special case for '-T version=14.29.16.10'
under VS 16.10, 2021-05-27, v3.20.4~11^2).  Add a special case for the
name VS 17 will use for VS 16.11's default toolset, so that it can be
used with VS 16.11 too.

Issue: #21922
This commit is contained in:
Brad King 2021-05-27 16:50:55 -04:00
parent 30dd9b33a0
commit 25c5ebba7e

View File

@ -618,6 +618,9 @@ cmGlobalVisualStudioVersionedGenerator::FindAuxToolset(
if (version == "14.29.16.10" && vcToolsetVersion == "14.29.30037") {
return AuxToolset::Default;
}
if (version == "14.29.16.11" && vcToolsetVersion == "14.29.30133") {
return AuxToolset::Default;
}
// The first two components of the default toolset version typically
// match the name used by later VS versions for the SxS props files.