Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-08-25 16:57:25


On 08/24/2005 02:24 PM, Rob Stewart wrote:
> Is there a recommended way to develop a new Boost library
> alongside a Boost release? IOW, I have Boost 1.33 installed. I
> want to develop a new library to be part of Boost, so I need to
> lay it out as if it were part of Boost, but I don't want to put
> it in the Boost 1.33 tree.
>
> How to I set up Jamfiles, etc., so that my separate tree builds
> properly, including BoostBook? As I have things now, I expanded
> Boost 1.33 into boost_1_33_0, which is a sibling of the directory
> in which I've put the new library code. I want to be able to run
> bjam --v2 in the new library's doc subdirectory for QuickBook and
> I want to be able to install the library headers.
My development tree is:

boost_1_33_0
sandbox //this is where I put development directories
torjo //where, for example, I've downloaded John Torjo's rangelib
lje //this is where I do my development
Jamfile.v2 //this *file* "connects" lje to boost_1_33_0 to
//make it appear part of boost.
//This is done with contents:
<----------------- cut here ---------------------
project boost
: requirements
<include>.
<include>../torjo/boost-root
: usage-requirements
<include>.
<include>../torjo/boost-root
;
>----------------- cut here ---------------------
boost
policy_ptr //for example
libs
policy_ptr
test

HTH,

-regards,
Larry

 


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