Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to adjust/redefine default variants "debug", "release" and "profiling"
From: Deniz Bahadir (D.Bahadir_at_[hidden])
Date: 2009-11-12 08:42:06


Hi again,

I just found a strange behavior concerning the following solution to
my original question.

> there's no 'clean' way to do this. However, can you try this:
>
>        module feature
>        {
>                <variant>debug.components = <optimization>off <define>FOOBAR ;
>        }
>
> This explicitly pokes at relevant settings inside the 'feature' module.
> Let me know if this helps.

This solution works. However, if I call bjam without any variant, the
original debug variant is used and all my changes to the debug
variant, except for the additional defines, are ignored. Especially
the features "<threading>multi" and "<warnings-as-errors>on" are
ignored. (These are the ones I tested with.)
By the way, I am using "Boost.Build V2 (Milestone 12)" with "Boost.Jam 03.1.16".

DENIZ


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