Boost logo

Boost :

Subject: Re: [boost] CMake Modularization
From: Peter Dimov (lists_at_[hidden])
Date: 2016-10-03 05:01:58


Paul Fultz II wrote:
> > We'll probably also need
> >
> > set(BOOST_ROOT ${CMAKE_SOURCE_DIR})
>
> This shouldn’t be needed. `CMAKE_SOURCE_DIR` is always the directory of
> the top root.

I was thinking of the case where a library is built out of tree but there
does exist a complete Boost source tree and BOOST_ROOT (from the
environment, for instance) points to it. Some libraries seem to support
that, at least in theory judging by their Jamfiles.

I'm also not quite clear on what the equivalent of our current stage and
install targets should be, and how we'll handle tools/*.


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