diff options
Diffstat (limited to 'setup-vc.cmd')
-rw-r--r-- | setup-vc.cmd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setup-vc.cmd b/setup-vc.cmd index e93262e..247459c 100644 --- a/setup-vc.cmd +++ b/setup-vc.cmd | |||
@@ -17,19 +17,19 @@ REM Test for VC++2005 FIRST, because it is the norm with Lua 5.1.4 | |||
17 | REM LuaBinaries and LfW. All prebuilt modules and lua.exe are built | 17 | REM LuaBinaries and LfW. All prebuilt modules and lua.exe are built |
18 | REM with it. | 18 | REM with it. |
19 | REM | 19 | REM |
20 | set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 | 20 | set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 8 |
21 | if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto TRY_VC9 | 21 | if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto TRY_VC9 |
22 | 22 | ||
23 | REM Win32 headers must be separately downloaded for VC++2005 | 23 | REM Win32 headers must be separately downloaded for VC++2005 |
24 | REM (VC++2008 SP1 carries an SDK with it) | 24 | REM (VC++2008 SP1 carries an SDK with it) |
25 | REM | 25 | REM |
26 | set _SDK=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd | 26 | set _SDK=%ProgramFiles%\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd |
27 | if not exist "%_SDK%" goto ERR_NOSDK | 27 | if not exist "%_SDK%" goto ERR_NOSDK |
28 | call "%_SDK%" | 28 | call "%_SDK%" |
29 | goto FOUND_VC | 29 | goto FOUND_VC |
30 | 30 | ||
31 | :TRY_VC9 | 31 | :TRY_VC9 |
32 | set VSINSTALLDIR=C:\Program Files\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 not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto ERR_NOVC |
34 | 34 | ||
35 | echo. | 35 | echo. |
@@ -54,7 +54,7 @@ call "%VSINSTALLDIR%\VC\vcvarsall.bat" | |||
54 | 54 | ||
55 | REM 'timeit.exe' is part of the MS Server Res Kit Tools (needed for "make perftest") | 55 | REM 'timeit.exe' is part of the MS Server Res Kit Tools (needed for "make perftest") |
56 | REM | 56 | REM |
57 | set _RESKIT=C:\Program Files\Windows Resource Kits\Tools\ | 57 | set _RESKIT=%ProgramFiles%\Windows Resource Kits\Tools\ |
58 | if not exist "%_RESKIT%\timeit.exe" goto WARN_NOTIMEIT | 58 | if not exist "%_RESKIT%\timeit.exe" goto WARN_NOTIMEIT |
59 | PATH=%PATH%;%_RESKIT% | 59 | PATH=%PATH%;%_RESKIT% |
60 | goto EXIT | 60 | goto EXIT |