Re: About CMake - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: About CMake
Date
Msg-id 4959563F.4080709@dunslane.net
Whole thread Raw
In response to Re: About CMake  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: About CMake
List pgsql-hackers

Gregory Stark wrote:
>
> We could use autoconf on win32 using cygwin utilities for things like sh and
> awk. Just because we use those tools doesn't mean we have to use a cygwin
> compiler or linker to actually do the build.
>   

Making Cygwin a build time requirement for using MSVC is something we 
seriously wish to avoid.

> And we could always ship the preconfigured pg_config.h from a normal Windows
> machine with cygwin installed since they're all the same (in theory).
>
> I think it has more to do with the build-time tools. We have Makefile rules
> that use awk or sed in them and those wouldn't work unless you have cygwin
> installed when building. And in any case we want to use MSVC project files and
> MSVC's make-equivalent to actually drive the build which kind of rules out
> using the Makefile rules as-is.
>
>   

Quite so. CMake outputs MSVC Project files, as I understand it. If you 
know of another cross-platform build tool that will do that then speak up.

cheers

andrew




pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: About CMake
Next
From: Magnus Hagander
Date:
Subject: Re: About CMake