Add support for Visual Studio 2022 in build scripts

Enterprise / PostgreSQL - Michael Paquier [paquier.xyz] - 24 November 2021 04:03 UTC

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

b2265d305d Add support for Visual Studio 2022 in build scripts
doc/src/sgml/install-windows.sgml | 12 +++++++-----
src/tools/msvc/MSBuildProject.pm | 25 +++++++++++++++++++++++++
src/tools/msvc/README | 14 +++++++-------
src/tools/msvc/Solution.pm | 28 ++++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 28 ++++++++++++++++++++++++----
5 files changed, 91 insertions(+), 16 deletions(-)

Upstream: git.postgresql.org


  • Share