Re: build from source with MSVC

Lists: pgsql-general
From: Philipp Kraus <philipp(dot)kraus(at)tu-clausthal(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: build from source with MSVC
Date: 2013-12-11 10:20:30
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general

Hello,

I must build the pg library from sources under MSVC 2010 and later 2012. Under OSX & Linux I call the configure / make tools and I can build
the lib well, but is there a project structure for building under MSVC?

So how can I build the postgres library (shared / static version) under MSVC?

Thanks

Phil


From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Philipp Kraus <philipp(dot)kraus(at)tu-clausthal(dot)de>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: build from source with MSVC
Date: 2013-12-11 13:57:17
Message-ID: CAB7nPqRoym2ES9N45EkDk=MFevPC778ZkayGEfYDzkbtUV4i1A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general

On Wed, Dec 11, 2013 at 7:20 PM, Philipp Kraus
<philipp(dot)kraus(at)tu-clausthal(dot)de> wrote:
> I must build the pg library from sources under MSVC 2010 and later 2012. Under OSX & Linux I call the configure / make tools and I can build
> the lib well, but is there a project structure for building under MSVC?
All the tools and scripts of msvc are in src/tools/msvc.

> So how can I build the postgres library (shared / static version) under MSVC?
And here are more references from the docs:
http://www.postgresql.org/docs/9.3/static/install-windows-full.html
Regards,
--
Michael