Boost logo

Boost-Build :

Subject: Re: [Boost-build] third party libraries
From: Börje Granberg (borje.granberg_at_[hidden])
Date: 2010-03-29 08:24:56


Thank you very much! It works!

2010/3/23 Vladimir Prus <ghost_at_[hidden]>:
> 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 libwhatever.so : [ 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:
>
>        /scratch/thirdparty//libwhatever.so
>
> Does this help?
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build: http://boost.org/boost-build2
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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