Boost logo

Boost-Build :

Subject: Re: [Boost-build] third party libraries
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-23 03:05:38

On Monday 22 March 2010 23:26:44 Börje Granberg wrote:

> Yeah, that works to trigger the work. The problem is that this rule
> triggers the make rule every time bjam is called although the library
> is already built, but outside the bin/ directory where boost searches.
> How do I solve this?

Specify the location where the library is actually generated:

    make : [ glob *.c ] : @invoke-make : <location>whatever ;

> How can I use this library in the rest of the project?

Assuming the 'make' metatarget is defined in Jamfile at /scratch/thirdparty
then all your Jamfile can refer to:


Does this help?

Vladimir Prus

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