Re: [boost] Switch to CMake -- Analysis
On Jul 22, 2017 4:41 AM, "Peter Dimov via Boost"
other is a generator for build systems.
I wonder how many of the people who repeat this mantra understand either Boost.Build or CMake. 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).
Rene Rivera wrote:
On Jul 22, 2017 4:41 AM, "Peter Dimov via Boost"
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.
participants (2)
-
Peter Dimov
-
Rene Rivera