
Vladimir Prus wrote:
Mateusz Loskot wrote:
Vladimir Prus wrote:
Daniel James wrote:
On 10 March 2010 22:01, Vladimir Prus <ghost@cs.msu.su> 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:
https://svn.boost.org/svn/boost/sandbox/example
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 location. Thanks! -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org