Boost logo

Boost-Build :

Subject: Re: [Boost-build] Link to headers when building documentation.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-05-18 19:43:27


On 05/18/2014 04:54 PM, Daniel James wrote:
> Several libraries use 'glob' to find the headers for doxygen, and some
> of them search from boost root. This doesn't find anything unless 'b2
> headers' is run first, which causes the build to fail (the doxygen
> rule requires at least one source). Is there a way to make sure the
> 'headers' target is run from $BOOST_ROOT/doc/Jamfile.v2 before the
> globs in dependent jamfiles are evaluated? Of course the globs could
> be used against local header files, but it'd be nice if we didn't have
> to require that, e.g. if a module wants to include a header from
> another module for some reason.

It's not easily possible. glob always runs before any
targets are updated.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at