I am trying to build static, 32bit versions of debug and release. On Windows, using command prompt, the commands I issue are:
bin\gn gen out\Release_Static\Win32 --args="target_os=\"win\" is_debug=false host_cpu=\"x86\""
bin\gn gen out\Debug_Static\Win32 --args="target_os=\"win\" host_cpu=\"x86\""
ninja -C out\Release_Static\Win32
ninja -C out\Debug_Static\Win32
The ninja commands fail with this:
ninja: Entering directory `out\Release_Static\Win32'
[3/1989] compile ../../../bench/BlurRectBench.cpp
FAILED: obj/bench/bench.BlurRectBench.obj
cmd /c C:/Program Files (x86)/Microsoft Visual Studio 14.0/win_sdk/bin/SetEnv.cmd /x86 && "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/bench/bench.BlurRectBench.obj.rsp /c ../../../bench/BlurRectBench.cpp /Foobj/bench/bench.BlurRectBench.obj /Fd"obj/bench_c.pdb"
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
So, it looks like it is trying to reference SetEnv.cmd using a path that doesn't have double-quotes around it.
What did I do wrong?