summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
diff options
context:
space:
mode:
authorAnthony Shaw <anthony.p.shaw@gmail.com>2020-02-05 00:30:19 (GMT)
committerGitHub <noreply@github.com>2020-02-05 00:30:19 (GMT)
commit89ae20b30e4543f379ee647c965eb46200556496 (patch)
treec4a87141e8e9d81ff0a3904d07668da12f41be9b /PCbuild/build.bat
parent95f60010219e142a436fae18e1695cbc45407afe (diff)
downloadcpython-89ae20b30e4543f379ee647c965eb46200556496.zip
cpython-89ae20b30e4543f379ee647c965eb46200556496.tar.gz
cpython-89ae20b30e4543f379ee647c965eb46200556496.tar.bz2
bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r--PCbuild/build.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index 7c24e0b..ba7154d 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -27,6 +27,8 @@ echo. building externals.
echo. -m Enable parallel build (enabled by default)
echo. -M Disable parallel build
echo. -v Increased output messages
+echo. -vv Verbose output messages
+echo. -q Quiet output messages (errors and warnings only)
echo. -k Attempt to kill any running Pythons before building (usually done
echo. automatically by the pythoncore project)
echo. --pgo Build with Profile-Guided Optimization. This flag
@@ -73,6 +75,8 @@ if "%~1"=="-d" (set conf=Debug) & shift & goto CheckOpts
if "%~1"=="-m" (set parallel=/m) & shift & goto CheckOpts
if "%~1"=="-M" (set parallel=) & shift & goto CheckOpts
if "%~1"=="-v" (set verbose=/v:n) & shift & goto CheckOpts
+if "%~1"=="-vv" (set verbose=/v:d /ds) & shift & goto CheckOpts
+if "%~1"=="-q" (set verbose=/v:q /nologo /clp:summary) & shift & goto CheckOpts
if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
if "%~1"=="--pgo" (set do_pgo=true) & shift & goto CheckOpts
if "%~1"=="--pgo-job" (set do_pgo=true) & (set pgo_job=%~2) & shift & shift & goto CheckOpts