Boost logo

Boost-Build :

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


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?



The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider.

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