summaryrefslogtreecommitdiffstats
path: root/PCbuild/env.bat
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2012-05-19 21:10:14 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2012-05-19 21:10:14 (GMT)
commitc45ea9ebc774d46260230a76e5b8c3c1de020250 (patch)
treed7d15cba51f5f49bb73c99a2822fb8ef8597d7d9 /PCbuild/env.bat
parent7fc570a51e6d8647d73e152721b2e72add72d134 (diff)
downloadcpython-c45ea9ebc774d46260230a76e5b8c3c1de020250.zip
cpython-c45ea9ebc774d46260230a76e5b8c3c1de020250.tar.gz
cpython-c45ea9ebc774d46260230a76e5b8c3c1de020250.tar.bz2
Clean up the PCBuild project files, removing redundant settings and
use "references" to link to dependent projects. Update readme and batch files.
Diffstat (limited to 'PCbuild/env.bat')
-rw-r--r--PCbuild/env.bat8
1 files changed, 6 insertions, 2 deletions
diff --git a/PCbuild/env.bat b/PCbuild/env.bat
index 638b16c..08dc8ef 100644
--- a/PCbuild/env.bat
+++ b/PCbuild/env.bat
@@ -1,5 +1,9 @@
@echo off
-set VS9=%ProgramFiles%\Microsoft Visual Studio 9.0
+set VS10=%ProgramFiles(x86)%\Microsoft Visual Studio 10.0
+IF EXIST "%VS10%" GOTO ok
+set VS10=%ProgramFiles%\Microsoft Visual Studio 10.0
+:ok
+
echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64
echo.
-call "%VS9%\VC\vcvarsall.bat" %1
+call "%VS10%\VC\vcvarsall.bat" %1