Boost logo

Boost Users :

From: Vladimir Prus (yg-boost-users_at_[hidden])
Date: 2003-05-21 00:05:20


Russell Hind wrote:

> Does doing a release build of the boost libraries define NDEBUG. (don't
> know if this is standard) but in C++Builder, NDEBUG disables asserts so
> it is useful to define it when doing release builds.

You can find it out yourself. Just run bjam with "-n" option (like "bjam -n
-sTOOLS=msvc") and instead of invoking tools it will print the commands.
It's easy to see if NDEBUG is in compiler's command line, or not.

HTH,
Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net