Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2005-05-16 10:09:08


Zbynek Winkler wrote:

> Hi,
>
> I've read this about conditional properties
> http://boost.org/doc/html/bbv2/tutorial/conditions.html but I'd like to
> know how to condition on more then one property (with logical 'and').
> I'd like to say that the release variant for gcc toolset should contain
> "-O3" in linkflags ;-).
>
> This does not work: <toolset>gcc:<variant>release:<linkflags>"-O3"
>
> Thanks,
> Zbynek

Hello,

A comma is what you want: <toolset>gcc,<variant>release:<linkflags>"-O3"

I couldn't find it in the docs, though. I probably read it in this
mailing list at some point.

Phillip

 


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