[Python-checkins] [python/cpython] 8619c5: PCbuild/build.bat: Add note about using msbuild re...

GitHub noreply at github.com
Fri May 12 19:23:17 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 8619c5417ceddb4165c68b9b8aacababd49b0607
      https://github.com/python/cpython/commit/8619c5417ceddb4165c68b9b8aacababd49b0607
  Author: Charles <peacech at gmail.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M PCbuild/build.bat

  Log Message:
  -----------
  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%
```




More information about the Python-checkins mailing list