aboutsummaryrefslogtreecommitdiff
path: root/setup-vc.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'setup-vc.cmd')
-rw-r--r--setup-vc.cmd15
1 files changed, 12 insertions, 3 deletions
diff --git a/setup-vc.cmd b/setup-vc.cmd
index 247459c..e623495 100644
--- a/setup-vc.cmd
+++ b/setup-vc.cmd
@@ -30,10 +30,19 @@ goto FOUND_VC
30 30
31:TRY_VC9 31:TRY_VC9
32set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 9.0 32set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 9.0
33if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto ERR_NOVC 33if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC
34set VSINSTALLDIR=%ProgramFiles(x86)%\Microsoft Visual Studio 9.0
35if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC
34 36
37:TRY_VC10
38set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 10.0
39if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC
40set VSINSTALLDIR=%ProgramFiles(x86)%\Microsoft Visual Studio 10.0
41if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC
42
43:WARN_VC
35echo. 44echo.
36echo *** Warning: Visual C++ 2008 in use *** 45echo *** Warning: Visual C++ 2008/2010 in use ***
37echo. 46echo.
38echo Using VC++2005 is recommended for runtime compatibility issues 47echo Using VC++2005 is recommended for runtime compatibility issues
39echo (LuaBinaries and LfW use it; if you compile everything from 48echo (LuaBinaries and LfW use it; if you compile everything from
@@ -70,7 +79,7 @@ goto EXIT
70REM --- 79REM ---
71:ERR_NOVC 80:ERR_NOVC
72echo. 81echo.
73echo ** ERROR: Visual C++ 2005/08 Express - not detected 82echo ** ERROR: Visual C++ 2005/08/10 Express - not detected
74echo You can set the environment variables separately, and run 'make-vc.cmd' 83echo You can set the environment variables separately, and run 'make-vc.cmd'
75echo or download the compiler from: 84echo or download the compiler from:
76echo http://msdn.microsoft.com/vstudio/express/downloads/ 85echo http://msdn.microsoft.com/vstudio/express/downloads/