Subject: Re: [Boost-build] third party libraries
From: Börje Granberg (borje.granberg_at_[hidden])
Date: 2010-03-22 16:26:44
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?
How can I use this library in the rest of the project?
2010/3/19 Vladimir Prus <ghost_at_[hidden]>:
> On Friday 19 March 2010 10:17:42 Börje Granberg wrote:
>> I'm not sure what I want. I am thinking of the two alternatives you
>> proposed, but can I somehow trigger a make job from boost build?
> Yes. The easiest way is to create a file named Jamroot in your third-party
> project, containing this:
> project whatever ;
> make libwhatever.so : [ glob *.c ] : @invoke-make ;
> actions invoke-make
> make libwhatever.so
> Of course, you have to adjust the name of the created file and the list
> of sources to taste. The list of sources is only used to decide when
> to re-run make.
> Does this help?
> Vladimir Prus
> 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