Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-23 06:40:10

Steven T. Hatton wrote:

> How do I get bjam to produce the following (or equivalent) invocation?:
> g++ -ovmosg -I/code/root -L/opt/org/osg/lib -losg -losgProducer
> The -l flags translate into files named similar to this:
> -losgProducer ==>
> I get the -I/<path>/<to>/<include> by using expressions such as this:
> `<include>$(OSG)/include' in the requirements block. Likewise for the -L
> flags. What I haven't been able to produce are the -l flags.

Declare the lib with

lib osg ;

and then use it in your exe. This is documented in more detail at:

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at