Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to get a different output location for lib and obj files?
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2009-09-20 08:49:05


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fadi Beyrouti skrev:
> Hello,
>
> Is there a way to dispatch the object files that make up a library to a
> differnt output location that the output directory of a library? To make my
> point clearer please consider the following WRONG example (but you get the idea)
>
> lib mylib :
> file1.cpp
> file2.cpp
> file3.cpp
> <location>output/lib
> <object-file-location>output/obj ;
>
> Is there some way to achieve that?

Not directly, I think. However:

lib a ... ;
lib b ... ;
lib c ... ;

install stage
    : a b c
    : <location>./stage
    ;

Then "bjam stage" will copy your libraries to ./stage from your project
root (and even build them first if needed).

HTH
 /Brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq2JMEACgkQk1tAOprY6QHzGACfTYqDAo9RvXCSXu2cOOMwC1ar
904AnAnDg/f7Ya4Ys+rh/RD/z7wsRh4B
=YUIo
-----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