Sha256: 355b61234eb0816dad98e7a6a99728d088e5da698e415352798aecb2ee7c1e9e

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

@rem Script to build Lua under "Visual Studio .NET Command Prompt".
@rem Do not run from this directory; run it from the toplevel: etc\luavs.bat .
@rem It creates lua51.dll, lua51.lib, lua.exe, and luac.exe in src.
@rem (contributed by David Manura and Mike Pall)

@setlocal
@set MYCOMPILE=cl /nologo /MD /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE
@set MYLINK=link /nologo
@set MYMT=mt /nologo

cd src
%MYCOMPILE% /DLUA_BUILD_AS_DLL l*.c
del lua.obj luac.obj
%MYLINK% /DLL /out:lua51.dll l*.obj
if exist lua51.dll.manifest^
  %MYMT% -manifest lua51.dll.manifest -outputresource:lua51.dll;2
%MYCOMPILE% /DLUA_BUILD_AS_DLL lua.c
%MYLINK% /out:lua.exe lua.obj lua51.lib
if exist lua.exe.manifest^
  %MYMT% -manifest lua.exe.manifest -outputresource:lua.exe
%MYCOMPILE% l*.c print.c
del lua.obj linit.obj lbaselib.obj ldblib.obj liolib.obj lmathlib.obj^
    loslib.obj ltablib.obj lstrlib.obj loadlib.obj
%MYLINK% /out:luac.exe *.obj
if exist luac.exe.manifest^
  %MYMT% -manifest luac.exe.manifest -outputresource:luac.exe
del *.obj *.manifest
cd ..

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
Tamar-0.7.18 src/lua/etc/luavs.bat
Tamar-0.7.17 src/lua/etc/luavs.bat
Tamar-0.7.16 src/lua/etc/luavs.bat
Tamar-0.7.14 src/lua/etc/luavs.bat
Tamar-0.7.13 src/lua/etc/luavs.bat
Tamar-0.7.12 src/lua/etc/luavs.bat
Tamar-0.7.11 src/lua/etc/luavs.bat
Tamar-0.7.10 src/lua/etc/luavs.bat
Tamar-0.7.9 src/lua/etc/luavs.bat
Tamar-0.7.8 src/lua/etc/luavs.bat
Tamar-0.7.7 src/lua/etc/luavs.bat
Tamar-0.7.6 src/lua/etc/luavs.bat