Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-20 01:48:47


Hi Johan,

> I've been using Jam/MR (Perforce Jam) to build my projects under OpenVMS
> for some time now. I've just started to take a look at what it really
> takes to make a switch to bjam v2, so I've started out converting some of
> my Jamfiles to bbv2 (but only for NT + msvc 7.1 as a starter).
>
> I'd like to keep the old Jamfile/Jamrules in the source tree, so I was
> wondering whether it is possible to tell bbv2 to look for e.g.
> "Jamfile.v2" files instead of plain "Jamfile"s? I've previously seen the
> .v2 files in the boost source tree, but I don't know if and how I could
> use the same approach.

Putting the following to your boost-build.jam would do the trick

JAMFILE = [Jj]amfile.v2 ;

You can look at Boost's boost-build.jam for a real example.

- 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