[Python-checkins] cpython: Issue #22261: Add a note to PCbuild\readme.txt about MSBuild switches.

zach.ware python-checkins at python.org
Sun Oct 26 04:57:50 CET 2014


https://hg.python.org/cpython/rev/f35403bf8c91
changeset:   93172:f35403bf8c91
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Sat Oct 25 22:57:05 2014 -0500
summary:
  Issue #22261: Add a note to PCbuild\readme.txt about MSBuild switches.

Specifically, that they can be passed at the end of a build.bat invocation.

Initial patch by Shorya Raj.

files:
  Misc/ACKS          |   1 +
  PCbuild/readme.txt |  13 +++++++++++++
  2 files changed, 14 insertions(+), 0 deletions(-)


diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1104,6 +1104,7 @@
 Ram Rachum
 Jérôme Radix
 Burton Radons
+Shorya Raj
 Jeff Ramnani
 Brodie Rao
 Senko Rasic
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt
--- a/PCbuild/readme.txt
+++ b/PCbuild/readme.txt
@@ -88,6 +88,19 @@
    -r                  Rebuild instead of just building
    -e                  Use get_externals.bat to fetch external sources
 
+Up to 9 MSBuild switches can also be passed, though they must be passed
+after specifying any of the above switches.  For example, use:
+
+   build.bat -e -d /m
+
+to do a concurrent debug build with externals fetched as needed.  If
+the MSBuild switch requires an equal sign ("="), the entire switch must
+be quoted:
+
+   build.bat -e -d "/p:externalsDir=P:\cpython-externals"
+
+There may also be other situations where quotes are necessary.
+
 
 Legacy support
 --------------

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list