Boost logo

Boost-Build :

From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-07-31 08:53:03


It seems to me that the problem this complicated bit of code is
trying to solve could be handled differently. The problem is,
essentially, IIRC:

exe A : <library>B c.cpp : <rtti>off ;
lib B : b.cpp ;

If we just do "bjam" we get a potentially surprising result that B is
built twice, once with rtti and once without it.

I think the problem here is that the user doesn't have a way to say,
"this thing is really just a dependency of some other main target;
don't build it by default".

dependency lib B : b.cpp ;

or

lib B : b.cpp ;
don't-build B ;

or some such thing.

Thoughts?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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