summaryrefslogtreecommitdiffstats
path: root/PCbuild/env.bat
diff options
context:
space:
mode:
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