Boost logo

Boost-Build :

Subject: [Boost-build] turning off -DNDEBUG in release mode
From: Amos Anderson (nitroamos_at_[hidden])
Date: 2010-04-12 18:34:21


hello -- i'm trying to enable asserts in release mode. based on the
manual, it looks like this should do the trick:

project :
   requirements <library>/boost/python/ <library>/boost/serialization
-<define>NDEBUG
   ;

but it isn't working; i still see the NDEBUG's showing up through bjam
-d2 release. I know I'm entering that in the right place, because I
can do this:

project :
   requirements <library>/boost/python/ <library>/boost/serialization
<define>NDEBUG=0
   ;

but then i get "-DNDEBUG -DNDEBUG=0" in the compile line. what am i doing wrong?

thanks!

Amos.


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