Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-10-10 16:05:49

John Thompson wrote:
> On Windows XP I built bjam.exe, renamed it to jam.exe, ran
> vcvars32.bat, but when I run jam, it chokes on the spaces in the VC
> dir path. I insert double quotes, but they seem to get taken out.

B/Jam, and Perforce/Jam, splits variables passed in on their spaces to
form a list of strings. In Boost.Build we deal with that by joining such
variables back into a single string with:


We also have some special handling that allows you to use quoting to
have it not split the vars:

Also there's a way to compile bjam so that it doesn't do that variable
split. One can compile bjam with OPT_NO_EXTERNAL_VARIABLE_SPLIT for that
altered functionality. You can find a commented out line in build.jam
which has that option, just uncomment it. In some near future, after we
switch Boost to Boost.Build v2 this will be the default. We can't switch
it now because this would break current BBv1 functionality.

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - Grafik/

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at