diff options
Diffstat (limited to 'setup-vc.cmd')
-rw-r--r-- | setup-vc.cmd | 15 |
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 |
32 | set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 9.0 | 32 | set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 9.0 |
33 | if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto ERR_NOVC | 33 | if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC |
34 | set VSINSTALLDIR=%ProgramFiles(x86)%\Microsoft Visual Studio 9.0 | ||
35 | if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC | ||
34 | 36 | ||
37 | :TRY_VC10 | ||
38 | set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 10.0 | ||
39 | if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC | ||
40 | set VSINSTALLDIR=%ProgramFiles(x86)%\Microsoft Visual Studio 10.0 | ||
41 | if exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto WARN_VC | ||
42 | |||
43 | :WARN_VC | ||
35 | echo. | 44 | echo. |
36 | echo *** Warning: Visual C++ 2008 in use *** | 45 | echo *** Warning: Visual C++ 2008/2010 in use *** |
37 | echo. | 46 | echo. |
38 | echo Using VC++2005 is recommended for runtime compatibility issues | 47 | echo Using VC++2005 is recommended for runtime compatibility issues |
39 | echo (LuaBinaries and LfW use it; if you compile everything from | 48 | echo (LuaBinaries and LfW use it; if you compile everything from |
@@ -70,7 +79,7 @@ goto EXIT | |||
70 | REM --- | 79 | REM --- |
71 | :ERR_NOVC | 80 | :ERR_NOVC |
72 | echo. | 81 | echo. |
73 | echo ** ERROR: Visual C++ 2005/08 Express - not detected | 82 | echo ** ERROR: Visual C++ 2005/08/10 Express - not detected |
74 | echo You can set the environment variables separately, and run 'make-vc.cmd' | 83 | echo You can set the environment variables separately, and run 'make-vc.cmd' |
75 | echo or download the compiler from: | 84 | echo or download the compiler from: |
76 | echo http://msdn.microsoft.com/vstudio/express/downloads/ | 85 | echo http://msdn.microsoft.com/vstudio/express/downloads/ |