Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling boost libs without the version number in the filename
From: Cosimo Calabrese (cosimo.calabrese_at_[hidden])
Date: 2011-11-18 04:15:08


Il 18/11/2011 9.41, Vladimir Prus ha scritto:
> On 18/11/11 11:31, Cosimo Calabrese wrote:
>> Hi to all,
>>
>> I'm trying to compile boost libs, they compile successfully, but every
>> lib contains the boost version number. I use the following bjam
>> command line:
>>
>> bjam.exe debug release -a --debug-configuration
>>
>> For every lib, I obtain the following file name:
>>
>> libboost_chrono-vc100-mt-1_47.lib
>> libboost_chrono-vc100-mt-gd-1_47.lib
>>
>> How can I do in order to obtain:
>>
>> libboost_chrono-vc100-mt.lib
>> libboost_chrono-vc100-mt-gd.lib
>
> Cosimo,
>
> does --build-type=tagged do what you want?
>
> Thanks,
> Volodya

Hi Volodya,

I've tried it, but according with the bjam docs, I receive this message:

The value of the --build-type option should be either 'complete' or
'minimal'

The bjam docs says that using the --built-type options I can obtain
differents set of variants (static, multithreaded, ...), but it's not
what I would.

I would simply omit the "-1_47" suffix from the lib name. This because
when I update the boost version, I'm constraint to change the lib suffix
on every project that use them. I remember that it can be possible, I've
done it in the past, with an old version of boost.

Thanks,
Cosimo Calabrese.


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