Boost logo

Boost Users :

Subject: Re: [Boost-users] 32- and 64-bit builds on same machine
From: Andrew Holden (aholden_at_[hidden])
Date: 2010-08-13 16:28:29


On Friday, August 13, 2010 4:11 PM, 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?

The first thought that comes to mind is:

bjam toolset=msvc-9.0 address-model=64 ... stage
rename stage stage64
bjam toolset=msvc-9.0 address-model=32 ... stage

or maybe

bjam toolset=msvc-9.0 address-model=64 ... stage
cd stage
rename lib lib(x64)
cd ..
bjam toolset=msvc-9.0 address-model=32 ... stage


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