Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-10-11 06:10:39


Hi !

On Monday 11 October 2004 13:05, Vladimir Prus wrote:
> Jürgen Hunold wrote:

> > > 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.
>
> Yea :-(
>
> The <library> project requirements apply to all targets in Jamfile,
> including "obj". The the <library> feature is handled by moving the
> property value to the list of sources. And now, the "obj" file
> compiles the library with optimization=off.

Yes, I see.

> I think it's possible that we change <library> to only have the
> special effect for "exe" and "lib" targets. After all, it does not
> make such sense for other targets.

That sounds good.
Then I could rewrite my build-system and use more library-dependencies.

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