Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-10-11 05:41:22


Hi !

On Monday 11 October 2004 12:24, Toon Knapen wrote:
> Vladimir Prus wrote:

> What's weird is that
>
> <Jamfile>
> lib bar : foo ;
>
> obj foo : foo.cpp : <variant>release:<optimization>off ;
> </Jamfile>
>
> will induce all dependencies of library 'bar' (wich are in some
> project-rule) to be compiled with '<optimization>off' also ?!

You mean all libraries on which 'bar' depends ?
Yes, you will get them all compiled with these flags too.
I've stumbled over this behaviour a while ago, but ignored it (my
special lib is very stable and the overhead does not matter in my
case).

Yours,

Jürgen

-- 
* 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