|
Boost-Build : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-10-11 02:36:47
Hello,
In our project, there is one file that needs to be compiled with a lower
level optimisation as all other files in a release build. The reason is
that the algorithm in that file looses numeric precision with the
highest level of optimisation. My question now is: how to achive this
with bjam?
I have for instance :
lib libfoobar : foo.cpp bar.cpp : <threading>multi ;
I can for instance suppress optimisation on the whole library doing:
lib libfoobar : foo.cpp bar.cpp : <threading>multi <optimization>off ;
However this suppresses optimization for the whole library. So how can I
only suppress the optimisation in bar.cpp?
Thanks in advance,
toon
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