summaryrefslogtreecommitdiffstats
path: root/PCbuild/env.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild/env.bat')
-rw-r--r--PCbuild/env.bat7
1 files changed, 1 insertions, 6 deletions
diff --git a/PCbuild/env.bat b/PCbuild/env.bat
index 8b64ce5..0170bce 100644
--- a/PCbuild/env.bat
+++ b/PCbuild/env.bat
@@ -1,9 +1,4 @@
@echo off
-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 "%VS10%\VC\vcvarsall.bat" %1
+call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" %*