Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-11-15 05:00:12


On Tuesday 15 November 2005 12:03, Reece Dunn wrote:

> I have tried adding:
>
> feature.compose <variant>debug : <define>_DEBUG ;
>
> to msvc.jam (actually, msplatformsdj.jam) and get:
>
> F:/devel/bbv2/build\feature.jam:585: in feature.compose from module feature
> error: components of <variant>debug already set: <optimization>off
> <debug-symbols>on <inlining>off <runtime-debugging>on
>
> Q: How do I add to an already composed feature?

You can't. That's why NDEBUG define is specified in the definition of
"release" variant and not later.

- Volodya


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