pgsql: Add support for Visual Studio 2022 in build scripts

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add support for Visual Studio 2022 in build scripts
Date: 2021-11-24 04:06:20
Message-ID: E1mpjY4-0003GJ-QA@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1061e41ff9ae204d1e0097e8a95d0c2d8a7d4201

Modified Files
--------------
doc/src/sgml/install-windows.sgml | 10 +++++-----
src/tools/msvc/MSBuildProject.pm | 25 +++++++++++++++++++++++++
src/tools/msvc/README | 12 ++++++------
src/tools/msvc/Solution.pm | 28 ++++++++++++++++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 26 +++++++++++++++++++++++---
5 files changed, 87 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-11-24 04:31:15 Re: pgsql: Flush Memoize cache when non-key parameters change
Previous Message Amit Kapila 2021-11-24 02:48:28 pgsql: Rename SnapBuild* macros in slot.c.