From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-07-29 08:32:23
Vincent Jamart wrote:
>I'm in charge of the migration of a bjam build system from v1 to v2. I
>adapted a Jamfile and as we use many different compilers AND use the
>latest CVS version of boost (from sourceforce nighly backup), I cannot
>use a modified user-config.jam file within boostjam tree (as it will we
>overwritten by the CVS version all the time). In v1 we used to define
>user's environment variables sutch as $TOOLS and $ALL_LOCATE_TARGET in
>order to use gcc/icc/... and put binaries under ~/cvstop/DO.
>I cannot find such a way in v2's docs for the dynamic definition of
>toolset and binaries destination. Also, when I use "bjam toolset=gcc" I
>get a " warning: no toolsets are configured" message.
>Is there a way to stil use the v1 fashion?
Not as far as I am aware. One possible solution would be to put a modified
version of user-config.jam in a special directory and copy it into the
correct place after the update:
cvs update ...
cp /myjam/user-config.jam /boost/tools/build/v2/user-config.jam
Use MSN Messenger to send music and pics to your friends
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