Boost logo

Boost-Build :

From: Miguel A (ironphase_at_[hidden])
Date: 2005-08-24 15:29:45

Hi there,

I am using bjam 1.32 and so far I have not being able to figure out
how to pass a define on the command line of bjam.

With only one target I am able to do this:

bjam --v2 target msvc/define=MY_DEFINE

That works as long as only one target is specified. If there are
multiple targets and a dist, and I try to build all targets with that
define as in

bjam --v2 msvc/define=MY_DEFINE
This wont work.

If I try to specify the dist (an stage to release all targets):

bjam --v2 dist msvc/define=MY_DEFINE

It will build the targets and stage the binaries but it ignores the

Of couse I have try things like

bjam --v2 define=MY_DEFINE

and so....nothing works..

Any ideas? Am I using this wrong or is this a bug in the build system?

Thanks in advance


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