Boost logo

Boost-Build :

Subject: Re: [Boost-build] turning off -DNDEBUG in release mode
From: Juraj Ivančić (juraj.ivancic_at_[hidden])
Date: 2010-04-13 04:56:36

On 13.4.2010 0:34, Amos Anderson wrote:
> hello -- i'm trying to enable asserts in release mode. based on the
> manual, it looks like this should do the trick:

The only way I found to do this is to define a new build variant:

variant release-assert

This is actually definition of release variant with omitted

I would much rather define it by e.g. extending 'release' variant and
removing <define>NDEBUG from it, but it is currently impossible - when
extending a variant you can AFAICT only add features, not remove them.


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