Boost logo

Boost :

Subject: Re: [boost] Proposal for moving Boost to CMake
From: P F (pfultz2_at_[hidden])
Date: 2017-06-20 08:32:16


> On Jun 20, 2017, at 3:19 AM, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:
>
> On 19 June 2017 at 22:38, paul via Boost <boost_at_[hidden] <mailto:boost_at_[hidden]>> wrote:
>
> Actually, you might be interested in this cmake file:
>
> https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake <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.

Nope, it only installs what boost gives you already.

> * 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
>

Nope, but PRs are welcomed :)


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