]> granicus.if.org Git - python/commit
PCbuild/build.bat: Add note about using msbuild response file. (#1551)
authorCharles <peacech@gmail.com>
Fri, 12 May 2017 23:23:15 +0000 (06:23 +0700)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 12 May 2017 23:23:15 +0000 (16:23 -0700)
commit8619c5417ceddb4165c68b9b8aacababd49b0607
treef46a870268e39d48bddf36554e2682baac59350b
parent870f6a11dd3b2d5455f7057ce0d9c2cd31acc2f2
PCbuild/build.bat: Add note about using msbuild response file. (#1551)

Using a response file will eliminate the headache associated with batch argument/quote processing.

For example I unsucessfully compiled python with visualcpptools when specifying VSInstallDir in the batch file (cannot find vcruntime.h)

```batch
build.bat -p x64 -e -M --no-tkinter  "/p:VCInstallDir=%VCInstallDir%"
```

but it build successfully when specifying it in a response file

msbuild.rsp:
```
/p:VCInstallDir=%VCInstallDir%
```
PCbuild/build.bat