From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
Date: Fri, 21 Feb 2020 19:58:43 +0000
Message-ID: <E1j5ERf-0003uM-Od@gemulon.postgresql.org> (raw)
Allow running src/tools/msvc/mkvcbuild.pl under not Windows
This to allow verifying the MSVC build file generation without having
to have Windows.
To do this, we avoid Windows-specific Perl modules and don't run the
"cl" compiler or "nmake". The resulting build files won't actually be
completely correct, but it's useful enough.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/d73b2c7b-f081-8357-8422-7564d55f1aac%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/73c8596488fd5fd619991f56dae5d22f551b06d9
Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 6 ++++--
src/tools/msvc/Project.pm | 2 +-
src/tools/msvc/Solution.pm | 17 ++++++++++++-----
src/tools/msvc/VSObjectFactory.pm | 31 +++++++++++++++++++------------
4 files changed, 36 insertions(+), 20 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
In-Reply-To: <E1j5ERf-0003uM-Od@gemulon.postgresql.org>
References: <E1j5ERf-0003uM-Od@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox