On Saturday 30 August 2014 14:39:31 Steven Watanabe wrote:
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.
Does it mean that sublibs are not supported or that this is a bug? BTW, I can see the similar approach has been taken in Boost.Chrono, and its stopwatches headers are also not linked into boost/chrono.