|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-03 06:55:45
On Friday 03 December 2004 10:27, Vladimir Prus wrote:
> > 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.
Done. Code like:
stage dist : lib1 : <so-version>1.32.0
creates this structure:
$ ls -l dist
total 8
lrwxrwxrwx 1 ghost users 14 Dec 3 14:18 lib1.so -> lib1.so.1.32.0
lrwxrwxrwx 1 ghost users 14 Dec 3 14:18 lib1.so.1 -> lib1.so.1.32.0
-rwxr-xr-x 1 ghost users 7785 Dec 3 14:18 lib1.so.1.32.0
If you update not only tools/build but also top-level Jamfile, the following
should work:
$ bjam --prefix=dist --with-program_options --v2 install
...patience...
...found 471 targets...
...updating 5 targets...
MkDir1 dist
MkDir1 dist/lib
gcc.link.dll dist/lib/program_options.so.1.32.0
ln-UNIX dist/lib/program_options.so
ln-UNIX dist/lib/program_options.so.1
- 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