Boost logo

Boost :

Subject: Re: [boost] Proposal for moving Boost to CMake
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2017-06-20 08:19:51


On 19 June 2017 at 22:38, paul via Boost <boost_at_[hidden]> wrote:

>
> Actually, you might be interested in this cmake file:
>
> https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake
>
> You can drop this in the top-level boost directroy and rename it to
> 'CMakeLists.txt', and it will under-the-hood generate a user-config.jam
> file
> with the setting from the cmake toolchain, and then build boost using this
> user-config.jam file.
>

It looks like this a number of caveats:
 * It doesn't import any of the targets generated by the boost project.
Ideally they should be imported along with their usage requirements.
 * It doesn't deal with the dependencies of Boost libraries, be it where to
find libc and libstdc++ (important when cross-compiling) or libz, python
and ICU.
 * It doesn't deal properly with compilation and link flags, though it
tries to


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