summaryrefslogtreecommitdiffstats
path: root/PCbuild/env.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild/env.bat')
-rw-r--r--PCbuild/env.bat25
1 files changed, 4 insertions, 21 deletions
diff --git a/PCbuild/env.bat b/PCbuild/env.bat
index 05152fe..638b16c 100644
--- a/PCbuild/env.bat
+++ b/PCbuild/env.bat
@@ -1,22 +1,5 @@
@echo off
-rem Set these values according to where you installed the software
-rem You need to install the necessary bits mentioned in:
-rem http://wiki.python.org/moin/Building_Python_with_the_free_MS_C_Toolkit
-
-set TOOLKIT=%ProgramFiles%\Microsoft Visual C++ Toolkit 2003
-set SDK=%ProgramFiles%\Microsoft Platform SDK for Windows Server 2003 R2
-set NET=%ProgramFiles%\Microsoft Visual Studio .NET 2003
-set NANT=%ProgramFiles%\Nant
-
-set PATH=%TOOLKIT%\bin;%PATH%;%SDK%\Bin\Win64;%NANT%\bin;%SDK%\bin
-set INCLUDE=%TOOLKIT%\include;%SDK%\Include;%INCLUDE%
-set LIB=%TOOLKIT%\lib;%NET%\VC7\lib;%SDK%\lib;%LIB%
-
-echo Build environment for Python
-echo TOOLKIT=%TOOLKIT%
-echo SDK=%SDK%
-echo NET=%NET%
-echo NANT=%NANT%
-echo Commands:
-echo * build
-echo * rt
+set VS9=%ProgramFiles%\Microsoft Visual Studio 9.0
+echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64
+echo.
+call "%VS9%\VC\vcvarsall.bat" %1