From 6523585c66c04cea54df50013df8886b589847d8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 23 Jan 2012 23:36:30 +1000 Subject: Add luaproc and LuaJIT libraries. Two versions of LuaJIT, the stable release, and the dev version. Try the dev version first, until ih fails badly. --- libraries/LuaJIT-1.1.7/etc/luavs.bat | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 libraries/LuaJIT-1.1.7/etc/luavs.bat (limited to 'libraries/LuaJIT-1.1.7/etc/luavs.bat') diff --git a/libraries/LuaJIT-1.1.7/etc/luavs.bat b/libraries/LuaJIT-1.1.7/etc/luavs.bat new file mode 100755 index 0000000..4f311e2 --- /dev/null +++ b/libraries/LuaJIT-1.1.7/etc/luavs.bat @@ -0,0 +1,22 @@ +@rem Script to build LuaJIT 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 and luajit.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 /I . /I ..\dynasm +@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:luajit.exe lua.obj lua51.lib +if exist luajit.exe.manifest^ + %MYMT% -manifest luajit.exe.manifest -outputresource:luajit.exe +del *.obj *.manifest +cd .. -- cgit v1.1