|
Boost : |
Subject: Re: [boost] Request for a "Policy Review" regarding 'CMakeLists.txt'
From: Paul Fultz II (pfultz2_at_[hidden])
Date: 2016-05-17 20:32:35
On Tuesday, May 17, 2016 at 7:11:31 PM UTC-5, Peter Dimov wrote:
>
> Paul Fultz II wrote:
>
> > Ok, you could just do `cmake libs/hana` for the cmake step. However,
> this
> > won't build hana's dependencies. Another way would be for hana to
> provide
> > a target just for its test, so using `hana-check` instead of `check`:
> >
> > git clone git_at_[hidden]:boostorg/boost.git
> > mkdir build && cd build
> > cmake ../boost
> > cmake --build . --target hana
> > cmake --build . --target hana-check
> > cmake --build . --target install
>
> This looks like an interesting option. Is it possible to write a top-level
> CMakeLists.txt which would add_subdirectory for each present library in
> libs/ ? (b2 does this - invoking it at top level automatically works on a
> subset and builds whatever is present.)
>
Yes
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk