Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-23 02:29:15


David Abrahams wrote:

> > exe a : a.cpp : <find-shared-library>z ;
> >
> > What about documenting it as officially allowed way to link to a library?
> > I'd suggest that we also introduce <find-library> which links to a
> > library without any preferences about shared or static linking.

> It might be preferable to allow a simple syntax for declaring a list
> of system libs:
>
> lib a b c d ;

Hey, you seem to be good at creating nice syntaxes! This looks quite consice
and is probably even shorter than <find-library>. What do the users think?

I also wonder if we should extend this syntax to cover:

lib a : : <search>/usr ;

i.e when there are not sources for lib, it's considered searched. So the above
would be equivalent to

lib a : : <name>a <search>/usr ;

?

- 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