Boost logo

Boost-Build :

Subject: Re: [Boost-build] What is the most proper way to use installed boost library in couple with boost.build?
From: Robert Collyer (rcollyer_at_[hidden])
Date: 2011-07-06 08:30:02


boost.jam needs to be updated to reflect the current naming scheme for
the libraries.

On 7/6/11 2:10 AM, Juraj Ivančić wrote:
> On 4.7.2011. 20:25, Dmitry Timoshenko wrote:
>> Hello,
>>
>> I have a project used boost libraries and linked against them.
>> I also use boost.build to build the project.
>>
>> If boost libraries are used as is. With no installation (./bjam
>> install).
>> I mean a user just unpack boost_1_xx.zip and specify the path
>> to unpacked content via e.g. BOOST_ROOT environment variable.
>> BOOST_ROOT points to the boost's Jamroot file location.
>> In this case everything is fine.
>> I just write the line is my project-config.jam
>>
>> use-project boost : $(BOOST_ROOT) ;
>>
>> and can use libraries by theirs names.
>>
>> for example: boost/filesystem//boost_filesystem
>>
>> and boost.build will do all the stuff for me (build dependencies and
>> etc.).
>>
>> But what if user installed boost libraries to e.g. by default
>> '/usr/local' or 'c:\boost' what is common and most right way to use the
>> boost in couple with boost.build in my project?
>>
>> Should I declare all the prebuilt targets explicitly in this case?
>> The boost could also be built with different --layout specified.
>> How to use installed boost libraries without boost's Jamroot file?
>
> There is a boost.jam shipped with boost build (in contrib dir) for
> this purpose.
>
> _______________________________________________
> 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