From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-12-18 08:01:59
Pedro Ferreira wrote:
> > So, this looks like an excellent approach, except for 'stage'.
> > exe a : a.cpp ;
> > stage dist : a ;
> > If 'a' returns all targets, then 'stage' will start to copy response
> > files
> > what not.
> I intend to use <include-type> everywhere so it's not a problem to me.
> However, I think it's not very elegant, and even with proper documentation
> it may be confusing to the non-initiated...
Yes, that's the primary reason why I'm not sure what to do.
And it turns out there's another problem. If all targets are returned, the
check for unused targets will be broken. Say we got target as source and did
nothing with it.
Is it because something's wrong, or just the target is of 'non-consumable'
type? Should we emit the warning about unused source?
Some time ago we were checking that at least one target from a main target is
consumed. That logic was complex, and I've simplified it. And with the
current logic we'll either get not warnings at all, or spirous warnings. What
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk