From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-10-11 03:59:01
Vladimir Prus wrote:
> This question was asked a few times, so I've added a FAQ entry:
I know but could not find one.
> Does it answer your question?
only partially. You suggest to use <cflags>. But then I end up with the
normal flags (e.g. -O3 in a release build) and the extra flag I
specified (which is -O0). I'm not sure what the compiler is going to do
in this case but the command-line is definitly not very clean. Jurgen
suggest to use <optimization>off which improves the situation because
there will only be one '-O' flag used.
However, now I would like to alter the optimization only for a release
build (because I want -O0 in debug (which will be the case
automatically) and -O1 in release)?
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