Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-07-06 08:33:55


I have the following organisation of my projects
./geom2d with sources and a jamfile in it
./sequence with sources and a jamfile in it
and so on

and a directory where i have all the tools,
this directory ./tools is in the PATH.
./tools/boost-build-2.0-m11
./tools/boost-jam-3.1.13-1-ntx86
.. and so on

I would like to avoid to put a boost-build.jam and a jamroot
at the root of my projects, i would prefer to put them in
another folder like
./tools/boost-build.jam
./tools/jamroot
or in a folder like ./tools/jam

Is it possible to do such a thing ? Is there a way to tell
bjam where to find the boost-build.jam
bjam -f.../boost-build.jam but i didn't succeed

I did a small .bat script to set BOOST_BUILD_PATH and to
avoid boost-build.jam
@set rp=%~dp0
setlocal
echo %rp%
set BOOST_BUILD_PATH=%rp%boost-build-2.0-m11\boost-build
%rp%boost-jam-3.1.13-1-ntx86\bjam.exe %*
endlocal
is this a good solution ?

For the "jamroot" file, is there a way to move it to somewhere
else ?
Is it also possible to have only sources in directory and
jamfiles elsewhere like geom2d.jam, sequence.jam and so on ?

Thanks

Renaud


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