Boost logo

Boost-Build :

Subject: [Boost-build] [user config] conditional toolset options?
From: Julian Gonggrijp (j.gonggrijp_at_[hidden])
Date: 2011-08-24 10:12:49


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?
If there isn't, would this stand a chance if I filed it as a feature request?


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