Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-03 02:27:14


Hi Michael,
> When I build the boost libs with bbv1, the shared library names follow
> the usual convention, i.e.,
>
> foo.so -> foo.so.N.NN.N
>
> How do I accomplish the same using bbv2? I realize I [probably] have to
> edit each lib's Jamfile.v2, but I can not find in the documentation how
> to specify the library names/numbering. For example, the test jamfile
> has this...
>
> lib boost_prg_exec_monitor : $(PRG_EXEC_MON_SOURCES).cpp ;
>
> Which, when staged to my lib.v2 directory, produces
>
> boost_prg_exec_monitor.so
>
> How do I control bbv2 to produce
>
> boost_prg_exec_monitor.so -> boost_prg_exec_monitor.so.1.32.0

The bad news is that you cannot. The good news is that it's in the works. With
the CVS version you can do:

stage dist : my_list : <so-version>1.32.0 ;

which will change the name of the library and relink it. I'll add symlinks
today.

- Volodya

 


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