Boost logo

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.


Vladimir Prus

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