Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-04-29 22:36:03


Craig Rodrigues wrote:
> If I download Boost via CVS,
> how can I configure Boost Jam so that by default
> it is in "V2 mode" , so I don't need to type --v2.
>
> I am interested in tracking BBv2 from CVS, and making sure
> that it works for my project.
> I like BBv2 a lot and want to use it for my project
> moving forward.

If it's only for your project... Look at how boost-root/boost-build.jam
handles the "--v2" option. But basically, in your projects'
boost-build.jam file load BBv2 directly:

[myproject-root/boost-build.jam]
## If you want to use Jamfile.v2 uncomment this..
# JAMFILE = [Jj]amfile.v2 ;
## If you want to use Jamfile or Jamfile.v2 do this one..
# JAMFILE = ([Jj]amfile)|([Jj]amfile.v2) ;
## Or if you want something else..
JAMFILE = build.jam ;

## Load BBv2..
boost-build $(BOOST_ROOT)/tools/build/v2 ;
[--]

Of course you'd either set BOOST_ROOT, or put it some other relative or
absolute path.

HTH.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
 

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