|
Boost-Build : |
Subject: Re: [Boost-build] Conditional properties on the command line?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-03-10 14:04:43
On Thursday, March 10, 2011 20:46:48 John Maddock wrote:
> Is there a way to specify conditional properties on the command line if I'm
> building with multiple toolsets?
>
> For example if I'm building with
>
> bjam toolset1 toolset2
>
> and want to add additional include paths that are different for each of the
> two toolsets?
You can use:
bjam toolset=gcc/include=foo toolset=msvc/include=bar
That's not really conditional per se -- but seems like what you're after.
HTH,
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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