Re: allow running parts of src/tools/msvc/ under not Windows - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: allow running parts of src/tools/msvc/ under not Windows
Date
Msg-id 20200213120429.GN1520@paquier.xyz
Whole thread Raw
In response to allow running parts of src/tools/msvc/ under not Windows  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: allow running parts of src/tools/msvc/ under not Windows
List pgsql-hackers
On Thu, Feb 13, 2020 at 12:00:54PM +0100, Peter Eisentraut wrote:
> When making build system changes that risk breaking the MSVC build system,
> it's useful to be able to run the part of the MSVC build tools that read the
> makefiles and produce the project files under a not-Windows platform.  This
> part does not really depend on anything particular to Windows, so it's
> possible in principle.  There are some minor dependencies on Windows,
> however, that need to be worked around. I have had some local hacks for that
> for a while, and I took a moment to clean them up and make them presentable,
> so here they are.  Interested?
>
> To test, apply the patch and run perl src/tools/msvc/mkvcbuild.pl .

$ perl src/tools/msvc/mkvcbuild.pl .
Warning: no config.pl found, using default.
Unable to determine Visual Studio version: The nmake command wasn't
found. at /home/ioltas/git/postgres/src/tools/msvc/Mkvcbuild.pm line 92.
Is that the expected result?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: client-side fsync() error handling
Next
From: Fujii Masao
Date:
Subject: LOCK TABLE and DROP TABLE on temp tables of other sessions