Boost logo

Boost-Build :

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:

#!/bin/bash

cvs update ...
cp /myjam/user-config.jam /boost/tools/build/v2/user-config.jam

Regards,
Reece

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger

 


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