Subject: Re: [Boost-build] [user config] conditional toolset options?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-08-24 16:47:15
Le 24/08/11 16:12, Julian Gonggrijp a écrit :
> This is what I'd like to do:
> # user-config.jam
> using darwin : :
> :<variant>debug:<compileflags>-Wextra ;
> using clang : :
> :<variant>debug:<compileflags>-fcatch-undefined-behaviour ;
> but bjam doesn't support this. Now, in the case of -Wextra it doesn't hurt that much to also specify the flag for release builds, but -fcatch-undefined-behaviour in Clang is really something you want to do for debug builds only.
> Is there another way to achieve the same effect?
I don't know if this respond completly to your needs. Have you tried to
add to your project requirements
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