[Python-checkins] cpython: Update build.bat for VS2010
brian.curtin
python-checkins at python.org
Tue May 22 18:05:18 CEST 2012
http://hg.python.org/cpython/rev/1ea3e1bc3d47
changeset: 77108:1ea3e1bc3d47
user: Brian Curtin <brian at python.org>
date: Tue May 22 11:04:32 2012 -0500
summary:
Update build.bat for VS2010
files:
PCbuild/build.bat | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -5,14 +5,15 @@
setlocal
set platf=Win32
set conf=Release
-set build=
+set target=build
+set dir=%~dp0
:CheckOpts
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
-if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
+if "%1"=="-r" (set target=rebuild) & shift & goto CheckOpts
if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts
-set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%"
+set cmd=msbuild /p:useenv=true %dir%pcbuild.sln /t:%target% /p:Configuration=%conf% /p:Platform=%platf%
echo %cmd%
%cmd%
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list