Boost logo

Boost Users :

Subject: Re: [Boost-users] [bjam][1.41.0] Build with variant=release, debug fails
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-01-06 15:02:04


Richard Hadsell wrote:

> Vladimir Prus wrote:
>> By default, the build process creates libraries named in accordance with system conventions,
>> e.g. libboost_date_time.a -- and naturally, you cannot produce both debug and release
>> libraries named that way. So, either build one variant or use --layout=tagged.
>>
>> HTH,
>> Volodya
>>
> It does help, thanks. I decided to build one at a time, and I found
> that I have to give each variant a different stagedir name. Otherwise,
> they overwrite each other.
>
> BTW, I checked the 1.41.0 Getting Started doc for Linux and found that
> it is out of date in this respect.

I have an action item to fix that for 1.42

> It describes the old naming
> convention that appends various suffixes to the library names. I then
> jumped via a link to Boost.build documentation. It is also out of date,
> not mentioning the limitation on variant,

There's no inherent limitation on variant, it's just the general limitation
that you cannot install >1 variant in one place without some renaming.

> and not mentioning
> variant=profile, which has been around at least since 1.35.0.

Well, given that it's kinda useless these days, we probably don't need to document
it.

- 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