aboutsummaryrefslogtreecommitdiff
path: root/setup-vc.cmd
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-01-04 21:31:17 +0100
committerBenoit Germain <bnt.germain@gmail.com>2011-01-04 21:31:17 +0100
commit79e46938c5d8daf164ab2d934f668fa27b32e4cf (patch)
tree407761f25bbdc3d5b2066a705dcbcf8711690242 /setup-vc.cmd
parented07b457b6b45ece85d367dc8b89bf3c040abd9a (diff)
downloadlanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.tar.gz
lanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.tar.bz2
lanes-79e46938c5d8daf164ab2d934f668fa27b32e4cf.zip
Take all code from Asko Kauppi's SVN server, and push it here so that the github repository becomes the official Lanes source codebase.
Note that Asko's SVN server holds version 2.0.9, whereas this is version 2.0.10, but I don't see any real need to update SVN if it is to become deprecated. Next steps: - upgrade the rockspec to the latest version - make the html help available online somewhere Signed-off-by: Benoit Germain <bnt.germain@gmail.com>
Diffstat (limited to 'setup-vc.cmd')
-rw-r--r--setup-vc.cmd8
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
17REM LuaBinaries and LfW. All prebuilt modules and lua.exe are built 17REM LuaBinaries and LfW. All prebuilt modules and lua.exe are built
18REM with it. 18REM with it.
19REM 19REM
20set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 20set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 8
21if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto TRY_VC9 21if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto TRY_VC9
22 22
23REM Win32 headers must be separately downloaded for VC++2005 23REM Win32 headers must be separately downloaded for VC++2005
24REM (VC++2008 SP1 carries an SDK with it) 24REM (VC++2008 SP1 carries an SDK with it)
25REM 25REM
26set _SDK=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd 26set _SDK=%ProgramFiles%\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd
27if not exist "%_SDK%" goto ERR_NOSDK 27if not exist "%_SDK%" goto ERR_NOSDK
28call "%_SDK%" 28call "%_SDK%"
29goto FOUND_VC 29goto FOUND_VC
30 30
31:TRY_VC9 31:TRY_VC9
32set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0 32set VSINSTALLDIR=%ProgramFiles%\Microsoft Visual Studio 9.0
33if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto ERR_NOVC 33if not exist "%VSINSTALLDIR%\VC\vcvarsall.bat" goto ERR_NOVC
34 34
35echo. 35echo.
@@ -54,7 +54,7 @@ call "%VSINSTALLDIR%\VC\vcvarsall.bat"
54 54
55REM 'timeit.exe' is part of the MS Server Res Kit Tools (needed for "make perftest") 55REM 'timeit.exe' is part of the MS Server Res Kit Tools (needed for "make perftest")
56REM 56REM
57set _RESKIT=C:\Program Files\Windows Resource Kits\Tools\ 57set _RESKIT=%ProgramFiles%\Windows Resource Kits\Tools\
58if not exist "%_RESKIT%\timeit.exe" goto WARN_NOTIMEIT 58if not exist "%_RESKIT%\timeit.exe" goto WARN_NOTIMEIT
59PATH=%PATH%;%_RESKIT% 59PATH=%PATH%;%_RESKIT%
60goto EXIT 60goto EXIT