Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2005-06-08 12:52:17

Vladimir Prus wrote:

> This commit has one user-visible change. The code:
> exe a : a.cpp b ;
> obj b : b.cpp helper;
> lib helper ;
> No longer works -- the 'a' target won't link to 'helper'. However, this is
> pretty stange code and worked before almost by accident.

It would be nice (from my perspective, of course :-) ) if this worked
such that the link requirement would be propagated and building d would
use the include for e, but the include didn't get propagated. This is
with static linking, BTW.

exe a : a.cpp b ;
lib b : b.cpp c ;
lib c : c.cpp d ;
obj d : d.cpp e ;
lib e : e.cpp : : : <include>. ;

The reason is that d uses e, but the users of c (and the rest of the c
library) don't use e directly, so they have no need for e's headers.

What do you think?



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