diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 22:54:08 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 22:54:08 +0200 |
commit | bd0728f03b9a3742d50db68ac77f1c4ea042f0a2 (patch) | |
tree | 52d4e619cc049b91c89a03865ec9b8b6c4a5b5a4 /ext/lua-wdk/build-x86.bat | |
parent | 67e3ef79bddff056459914a51bea128ed619c5ed (diff) | |
parent | 24ac838543bc99ea8d289925b4c5418107d5ae1f (diff) |
Merge with default
Diffstat (limited to 'ext/lua-wdk/build-x86.bat')
-rw-r--r-- | ext/lua-wdk/build-x86.bat | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ext/lua-wdk/build-x86.bat b/ext/lua-wdk/build-x86.bat new file mode 100644 index 00000000..75a054ed --- /dev/null +++ b/ext/lua-wdk/build-x86.bat @@ -0,0 +1,33 @@ +@echo off +set WDK_ROOT=c:\WinDDK\7600.16385.1 +set OPATH=%PATH% +set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\ddk +set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386 +set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE +set DEST=..\lua-wdk-5.1.4-2-x86 +call etc\luavs.bat +@echo off +echo.Press return when ready to install! +pause +set PATH=%OPATH% +rmdir /Q /S %DEST% +mkdir %DEST% +mkdir %DEST%\bin +mkdir %DEST%\lib +mkdir %DEST%\include +copy COPYRIGHT %DEST%\LICENSE.LUA +:: binaries and libraries +copy src\lua.exe %DEST%\bin +copy src\lua51.dll %DEST%\bin +copy src\lua51.exp %DEST%\bin +copy src\luac.exe %DEST%\bin +:: library +copy src\lua51.lib %DEST%\lib +:: api +copy src\lua.h %DEST%\include +copy src\luaconf.h %DEST%\include +copy src\lualib.h %DEST%\include +copy src\lauxlib.h %DEST%\include +copy etc\lua.hpp %DEST%\include +echo.Finished! +pause |