
31 May
2004
31 May
'04
11:56 a.m.
John Torjo <john.lists@torjo.com> 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