Boost logo

Boost Users :

Subject: Re: [Boost-users] 32- and 64-bit builds on same machine
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-08-14 01:44:37


Johan RÃ¥de wrote:

> On 8/13/2010 10:40 PM, Richard Hadsell wrote:
>> 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
>>
>>
>>
>
> Where is the stagedir option documented?

In "bjam --help" output.

- Volodya


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