Boost logo

Boost-Build :

Subject: Re: [Boost-build] Build error when adding Boost libraries to own projects
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2012-07-31 05:06:05


On 31.07.2012 10:24, Jurko Gospodnetić wrote:
>> See the boost.jam module in the tools/build/v2/contrib folder.
>> Just do 'import boost ;' and you have all the targets with all the
>> correct file names predeclared... :-)
>
> Slight correction... you have to do something like the following in
> your config files:
>
> using boost : 1.50
> : <include>/usr/local/include/boost_1_50
> <library>/usr/local/lib ;
>
> and then do the following in your project files:
>
> import boost ;
> boost.use-project 1.50 ;
>
> For more details see the main boost.jam module comment.

Neat, I didn't know that. I'll definitely try that out.

Thanks again for your help,
Norbert


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