diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2017-09-07 00:29:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 00:29:37 (GMT) |
commit | d01db1c2a2a71455163a1d3b214cc8dc27201303 (patch) | |
tree | 6b089cebac71c3bc48df25985c2911597c559a5b /PCbuild/build.bat | |
parent | e7c566caf177afe43b57f0b2723e723d880368e8 (diff) | |
download | cpython-d01db1c2a2a71455163a1d3b214cc8dc27201303.zip cpython-d01db1c2a2a71455163a1d3b214cc8dc27201303.tar.gz cpython-d01db1c2a2a71455163a1d3b214cc8dc27201303.tar.bz2 |
bpo-31358: Pull zlib out of the repository (GH-3375)
Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r-- | PCbuild/build.bat | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat index 3826c66..99d9ead 100644 --- a/PCbuild/build.bat +++ b/PCbuild/build.bat @@ -20,9 +20,10 @@ echo. -h Display this help message echo. -V Display version information for the current build echo. -r Target Rebuild instead of Build echo. -d Set the configuration to Debug -echo. -e Build external libraries fetched by get_externals.bat -echo. Extension modules that depend on external libraries will not attempt -echo. to build if this flag is not present +echo. -E Don't fetch or build external libraries. Extension modules that +echo. depend on external libraries will not attempt to build if this flag +echo. is present; -e is also accepted to explicitly enable fetching and +echo. building externals. echo. -m Enable parallel build (enabled by default) echo. -M Disable parallel build echo. -v Increased output messages @@ -79,6 +80,7 @@ rem These use the actual property names used by MSBuild. We could just let rem them in through the environment, but we specify them on the command line rem anyway for visibility so set defaults after this if "%~1"=="-e" (set IncludeExternals=true) & shift & goto CheckOpts +if "%~1"=="-E" (set IncludeExternals=false) & shift & goto CheckOpts if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts |