Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-15 09:35:53


brock_peabody wrote:
> --- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
>
> Hi Volodya,
>
> [...]
>
> > - The <dependency> feature was renamed to <use>.
>
> I don't see either of these mentioned in
> http://boost.sourceforge.net/boost-build2/boost_build_v2.html. How
> does one use <use> and what does it do?

Ok... putting to TODO ;-)

The primary usage of "<use>" is

library a : a.cpp : <use>b : : <library>b ;

The <library>b means all targets which use "a" must link to "b". The <use>b
cause usage requirements of "b", such as include paths to be added to "a"
build properties.

IOW, <use> means: "get usage requirements", but don't link to that target.

- 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