|
Boost-Build : |
Subject: Re: [Boost-build] switching on toolset
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-06-16 21:31:11
On 6/16/2015 6:54 PM, Gennadiy Rozental wrote:
> Hi,
>
> I'd like specify different requirement (cxxflags specifically) depending on
> which toolset I am running against.
>
> I know I specify multiple entries in requirements for each toolset, but I'd
> rather have some if statement which explicit state what i mean. This is
> especially important to handle various gcc versions. I'd rather not spell
> out each version, but have some conditions on version number.
Look at predef-check and predef-require in the Boost predef library. It
is still a bit buggy but it is what you want.
>
> Any help appreciated.
>
> Gennadiy
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