Add support for Visual Studio 2022 in build scripts
authorMichael Paquier <michael@paquier.xyz>
Wed, 24 Nov 2021 04:03:23 +0000 (13:03 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 24 Nov 2021 04:03:23 +0000 (13:03 +0900)
commitb2265d305d81b0c1a2cec6c5b66a190a9e69e853
treee650df31a6d90de6aa188880408ae5ea6ceb4dbc
parent875e02c2dff34f1bc9f3832a4f83c34bf300eb9f
Add support for Visual Studio 2022 in build scripts

Documentation and any code paths related to VS are updated to keep the
whole consistent.  Similarly to 2017 and 2019, the version of VS and the
version of nmake that we use to determine which code paths to use for
the build are still inconsistent in their own way.

Backpatch down to 10, so as buildfarm members are able to use this new
version of Visual Studio on all the stable branches supported.

Author: Hans Buschmann
Discussion: https://postgr.es/m/1633101364685.39218@nidsa.net
Backpatch-through: 10
doc/src/sgml/install-windows.sgml
src/tools/msvc/MSBuildProject.pm
src/tools/msvc/README
src/tools/msvc/Solution.pm
src/tools/msvc/VSObjectFactory.pm