Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCbuild/build.bat: Add note about using msbuild response file. #1551

Merged
merged 1 commit into from
May 12, 2017

Conversation

char101
Copy link
Contributor

@char101 char101 commented May 12, 2017

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

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

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

but it built successfully when specifying it in a response file

msbuild.rsp:

/p:VCInstallDir=%VCInstallDir%

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%
```
@mention-bot
Copy link

@char101, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zware and @zooba to be potential reviewers.

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@zooba zooba added the trivial label May 12, 2017
@zooba zooba merged commit 8619c54 into python:master May 12, 2017
@zooba
Copy link
Member

zooba commented May 12, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants