|
Boost-Build : |
From: John Maddock (john_at_[hidden])
Date: 2004-09-16 05:42:58
OK, sorry for the "simple" question, but how the heck are you supposed to
concatenate two strings?
I tried:
VC80_ROOT ?= "$(VS80COMNTOOLS)"..\\.. ;
VC_TOOL_PATH = "$(VC80_ROOT)"\\bin\\ ;
VC_SETUP = "CALL \"$(VC_TOOL_PATH)VCVARS32.BAT\" >nul" ;
But ended up with:
"C:\Program..\.. Files\Microsoft..\.. Visual..\.. Studio..\..
8\Common7\Tools\..\..\bin\VCVARS32.BAT" >nul
So then I tried:
local temp1 = "$(VS80COMNTOOLS:P)" ;
local temp2 = "$(temp1:P)" ;
VC80_ROOT ?= "$(temp2)" ;
VC_TOOL_PATH = "$(VC80_ROOT)"\\bin\\ ;
VC_SETUP = "CALL \"$(VC_TOOL_PATH)VCVARS32.BAT\" >nul" ;
but ended up with:
"C:\ 8\Common7\bin\VCVARS32.BAT" >nul
what's going on here?
Thanks!
John.
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