Boost logo

Boost Users :

Subject: Re: [Boost-users] 32- and 64-bit builds on same machine
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2010-08-13 16:40:49


Johan Råde wrote:
> I would like to do something like
>
> bjam toolset=msvc-9.0 ... stage
> bjam toolset=msvc-9.0 address-model=64 ... stage
>
> to build both the 32-bit and 64-bit libraries in the same source tree.
> However, this script will not work, because the 32- and 64-bit
> libraries will have the same names
> and be placed in the same folder, stage/lib.
>
> How do I fix that?
> How do I for instance get the 64-bit libraries in stage/lib(x64) instead?
>
Use the --stagedir option:

bjam ... --stagedir=stage32 stage
bjam ... address-model=64 --stagedir=stage64 stage

-- 
Dick Hadsell			203-992-6320  Fax: 203-992-6001
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net