Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-31 06:56:36


John Torjo <john.lists_at_[hidden]> writes:

> Hi all,
>
> Is there a way to add an <include> to bjam, by specifying it on
> command line?
>
> In particular, I'm trying to build a non-boost library, which needs boost ;)
>
> Therefore, I need to specify the path where boost headers are. Since I
> want to distribute this library, I don't think that adding an
> <include> in the jamfile, specifying where my boost is installed is
> the way to go ;)
>
> So, is it possible? If so, how? Thanks.

The right way is to use project references. See the content of
libs/python/example for a complete illustration. Then you can put
<include>@boost in your project requirements (BBv1) or
<include>/boost// (BBv2).

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk