From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-10-11 03:33:47
Hi Toon !
On Monday 11 October 2004 09:36, Toon Knapen wrote:
> 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've had similar problems:
# files to be treated special
# Extra Rules for files which can't be optimised
obj file1 : file1.cpp : <optimization>off ;
Hope this helps !
-- * Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau * voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover * hunold_at_[hidden] ! www.ive.uni-hannover.de
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