Re: [HACKERS] WIP: About CMake v2 - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [HACKERS] WIP: About CMake v2
Date
Msg-id CABUevEw+MDkKij=mBfmreLGAhvHEmVn7+VhRtnGzx3vdtH25+g@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] WIP: About CMake v2  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers


On Feb 10, 2017 19:41, "Andres Freund" <andres@anarazel.de> wrote:
On 2017-02-10 19:33:18 +0100, Magnus Hagander wrote:
> I guess we wouldn't, but we'd still need the "replacement for autoconf"
> part. So then we're back to maintaining multiple buildsystems.

Hm? Do we really need that?  Most of the things in an extension you do
*not* want to determine separately from the backend.  It's not like pgxs
atm really allows to differ wildly from autoconf's results. And most of
the relevant determinations made by autoconf are available in headers
and/or we can generate a cmake include file with the results of
autoconf.

Yeah, you're right. You need the output from the process,  it mot the process itself. 

/Magnus 


pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] WIP: About CMake v2