Compiling C++ extensions on MSVC using scripts in src/tools - Mailing list pgsql-hackers

From Michael Paquier
Subject Compiling C++ extensions on MSVC using scripts in src/tools
Date
Msg-id CAB7nPqSC3KPU7+AUBU48e8w29eQoTOxYGr1Fv0Zds5rj-shy9Q@mail.gmail.com
Whole thread Raw
Responses Re: Compiling C++ extensions on MSVC using scripts in src/tools  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Hi all,

In the stuff I work on in a daily basis there are a couple of
extensions written in C++, compiling them with MSVC on Windows using
slightly-different scripts available in src/tools after copying them
directly in contrib/. However, the build scripts available in
src/tools/msvc are not able to detect files suffixed as cpp or
similar. Attached is a two-line patch that enables their detection. I
believe this would be useful for packagers on Windows.

Patch is added to the next commit fest.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "Amit Langote"
Date:
Subject: Re: On partitioning
Next
From: Jeff Janes
Date:
Subject: 9.2 recovery/startup problems