Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-04-08 12:59:18

Rene Rivera wrote:

> >> project (and from project root, maybe?)
> >> 2. I believe (and I think we've talked about it some time ago), that
> >
> >backward
> >
> >> propagation of requirement should be supported. E.g. -- a using
> >
> ><lib>boost in
> >
> >> sources will automatically add boost includes.
> >
> >Agreed.
> No. Doing that generically would be a problem for me. If we make that the
> default behaviour I would need a way to prevent those and other kinds of
> properties from propagating to other targets. It might not be evident to
> Boost compiling, after all Boost does the sensible thing of having a
> separate include directory. But I make use of other packages which aren't
> that sensible. I have to deal with some projects which have different
> settings, and includes for when building the lib, than when using the lib.

I case that wasn't evident from my post, I don't mean that requirements
propagation should be default behavour. It should be some special kind of

lib my_lib : ...........
: <export_include>.....

Since, for ill-behaving libraries, you're likely to write Jamfiles yourself,
it will be possible to decide is exporting include is needed or not.

- Volodya


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