Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-24 00:16:19


Mark Elston wrote:
> One last question (that I can think of).
>
> Can I stack those conditions in a conditional property? For
> example,
>
> <os>LINUX:<variant>debug:<cxxflags>-whatever

Yes, but not with this syntax, you'd need

<os>LINUX,<variant>debug:<cxxflags>-whatever

(i.e. comma instead of semicolon). BTW, I think this part is somewhere in the
docs:

http://boost.org/boost-build2/boost_build_v2.html#conditional_properties

> Ok. One more. Is there somewhere in the code I can look at
> to find out more about this behavior (either C or Jam code)?

Sure. The entry point for conditionals handling is evaluate-conditionals in
build/propery.jam

HTH,
Volodya

 


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