Boost logo

Boost :

Subject: Re: [boost] [build] b2 headers don't work for sublibs
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-08-30 16:39:31


AMDG

On 08/30/2014 11:09 AM, Andrey Semashev wrote:
> I'm trying to move some headers of Boost.MPL to a sublib Boost.MPL.Core. I've
> reorganized the repository as follows:
>
> libs
> mpl
> book
> core
> include
> boost <- here and below are core headers
> test
> index.html
> <snip>
>
> The problem is when I run 'b2 headers' the command creates a symlink boost/mpl
> pointing to libs/mpl/include/boost/mpl, which leaves out all headers from
> libs/mpl/core/include/boost/mpl. How do I instruct Boost.Build to create links
> to the core headers?
>

Jamroot has this:

local all-headers =
    [ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost ] ] ;

which won't find the libs/mpl/core/include
subdirectory.

In Christ,
Steven Watanabe


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