Boost logo

Boost :

Subject: Re: [boost] Switch to CMake -- Analysis
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-22 12:50:03


Rene Rivera wrote:
> On Jul 22, 2017 4:41 AM, "Peter Dimov via Boost" <boost_at_[hidden]>
> wrote:
>
> > CMake does not generate build _systems_, it generates build _scripts_.
> > So does, incidentally, Boost.Build, which is a major reason why it's so
> > hard to understand.
>
> It would be more accurate to say that cmake generates build "scripts". And
> B2 generates build "instructions" (since it's internal data structure
> management).

You could probably make Boost.Build output a jam script with the low-level
bjam targets.

Conversely, one could probably patch CMake to generate the Ninja graph
in-memory instead of dumping it to file.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk