Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-16 10:07:59


On Thursday 16 June 2005 17:45, Toon Knapen wrote:
> David Abrahams wrote:
> >>Isn't
> >>
> >> On Unix, "lib" prefix is prepended to names of all targets of type LIB
> >> that don't have that prefix already.
> >>
> >>simple enough?
> >
> > It's reasonably simple until you start having to follow it by
> > "except..." or "unless..."
> >
> > :)
>
> And it probably needs to be clarified that bbv2 does not support
> creating libraries *without* the lib prefix anymore.
>
> This will bite me because I have inherited a project where libraries are
> created (using bbv2) without the lib prefix. OK no problem so far if all
> of a sudden all libraries have a lib prefix. But now there are other
> tools that refer to these libraries with the name of the libraries
> hardcoded.
> OK I agree that this project is probably not organised very cleanly but
> otherwise we can also say that the flexibility of bbv2 (to adapt to this
> situation) is reduced.

I think you can use the <tag> feature (with rule as value) to prevent "lib"
from being added.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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