|
Boost-Build : |
Subject: Re: [Boost-build] Autofinding boost
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-02-18 05:22:51
On Wednesday 18 February 2009 05:49:07 Sean Hunt wrote:
> I recall seeing a method of autofinding boost when using Boost Build.
> Currently I've been using
>
> use-project /boost : /path/to/boost ;
>
> in user-config.jam. Is there a better way?
There are few different use cases you might have in mind. One is finding where source
tree of Boost is located -- which is fairly hard to do ;-) Another is finding where
among possible install locations Boost is found. There's no standard solution for that
either, in particular because I don't know any other install location except for /usr/
Finally, there's a question, given an known install location, to get at specific libraries,
taking into account different naming for different build settings (threading,release,etc).
There's a boost.jam in contrib directory in SVN that should help with this.
- Volodya
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