From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-03-04 03:02:28
-----BEGIN PGP SIGNED MESSAGE-----
Hi Vladimir !
On Monday 03 March 2003 17:06, Vladimir Prus wrote:
>liba is build with <optimization>off, so it builds boost with the
> property. I agree that this is bad idea in this case, but I think
> use a different mechanism. Consider:
> exe hello : hello.cpp a ;
> obj a : a.cpp : <optimization>off ;
> This will build hello as usual, and a.obj without optimization. Even
> depends on some libraries, they will be compiled in the usual way. I
> an example, please use "bjam release" to see the results.
> Do you have any problems with this approach (except that it's not
>documented ;-) )
Actually no. It would even be better, because it elimintates one
But this does not work as you wrote. It still builds boost and any
<depency> library with optimization-off. You can reproduce this by
modifiying liba/Jamfile from my last test case to use your method.
It seems bjam constructs a "main-target-obj" for each obj, which is in
turn dependent on libx with optimization-off.
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen,
* 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
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