Boost logo

Boost :

Subject: Re: [boost] How to specify Boost headers location properly
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2010-03-11 17:32:34

Vladimir Prus wrote:
> Mateusz Loskot wrote:
>> Vladimir Prus wrote:
>>> Daniel James wrote:
>>>> On 10 March 2010 22:01, Vladimir Prus <ghost_at_[hidden]> wrote:
>>>>> Ideally, each sandbox library would contain some logic to detect if
>>>>> project
>>>>> named 'boost' exists, and if not so, to emit clear instructions
>>>>> what to
>>>>> do. I can create a 'template' library in sandbox having such code, if
>>>>> that helps.
>>>> If you could fix up the example I created, that would be great. It's
>>>> at:
>>>> I used João Abecasis' script to find boost, but you might be able to
>>>> do something better?
>>> The question is whether we should? Putting
>>> use-project /boost : some-path ;
>>> in user-config.jam is one-time effort, and is probably more reliable
>>> than environment variables anyway.
>> By the way, what is it possible for user to specify this setting in
>> site-config.jam, so it's easier to have various projects
>> configured to use various versions of Boost installed in user's system?
> This can be done in site-config.jam, but it's not clear to me why is
> that better.

I'm not suggesting it is better idea. Perhaps I mis-suggested that due
to lack of understanding of purpose of this file.

> In fact, site-config.jam is probably was too smart idea --
> the intention was that 'system administrator' could put various definitions
> there to help users, but most users are end users, so don't need to touch
> that file.

I see. Right then, user-config.jam is the right place for setting Boost


Mateusz Loskot,
Charter Member of OSGeo,

Boost list run by bdawes at, gregod at, cpdaniel at, john at