Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-04-07 22:19:03


Hi,

I just quickly read the manual of Boost-build (I'm
new) but could not find how I can add defines to
build-in variants. For example, I want to define
MY_DEBUG for all projects when a user types "bjam
debug". How can I do this?

I saw that I can extend or define my own variants, or
type "bjam debug define=MY_DEBUG", but this is not
what I want. Moreover, I also do not want to add the
conditional "<variant>debug:<define>MY_DEBUG" to all
target's requirements.

Is there a way to add the define to debug in Jamroot
so that it is applied globally to all sub-projects?

Thanks,

Andrej

                
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html


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