Boost logo

Boost-Build :

From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2004-10-20 02:53:58


"Vladimir Prus" <ghost_at_[hidden]> wrote in message
news:cl51og$vpi$2_at_sea.gmane.org...
>
> 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 ;

I didn't even have a boost-build.jam file. Creating it + adding the above
worked fine, but when I added the boost-build.jam file it required me to
call the boost-build rule, even though BOOST_BUILD_PATH was set. Should I
really have to, or can I add the above statement to project-root.jam
instead?

Thanks // Johan

 


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