Boost logo

Boost-Build :

From: Matt Shepcar (boostbuild_at_[hidden])
Date: 2004-03-01 14:06:58


I have a project made up of various libraries. Some of these
libraries make use of flags specified through #define's. Is there a
way of specifying which targets make use of a particular feature? For
instance, if I set up a feature like this:

feature.feature drawdebugstuff : off on : composite propagated ;
feature.compose <drawdebugstuff : builtin : <define>DRAW_DEBUG_STUFF ;

Can I then say that two of my libraries depend on this feature and two
versions of those libraries must be built and then specify which one
to use when linking them to my EXE? Obviously I only want one version
of all my other libraries to be built (but two versions of the EXE's).

Matt

 


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