Compiling C++ extensions on MSVC using scripts in src/tools

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Compiling C++ extensions on MSVC using scripts in src/tools
Date: 2014-11-26 04:46:17
Message-ID: CAB7nPqSC3KPU7+AUBU48e8w29eQoTOxYGr1Fv0Zds5rj-shy9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
20141126_msvc_cpp.patch text/x-patch 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2014-11-26 05:30:45 9.2 recovery/startup problems
Previous Message Amit Langote 2014-11-26 01:26:37 Re: On partitioning