diff options
Diffstat (limited to 'ext/lua-wdk')
-rw-r--r-- | ext/lua-wdk/build-x64.bat | 29 | ||||
-rw-r--r-- | ext/lua-wdk/build-x86.bat | 29 |
2 files changed, 30 insertions, 28 deletions
diff --git a/ext/lua-wdk/build-x64.bat b/ext/lua-wdk/build-x64.bat index 4322d3fb..a160cd97 100644 --- a/ext/lua-wdk/build-x64.bat +++ b/ext/lua-wdk/build-x64.bat @@ -1,8 +1,9 @@ @echo off +set WDK_ROOT=c:\WinDDK\7600.16385.1 set OPATH=%PATH% -set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk -set LIB=c:\WinDDK\7600.16385.1\lib\wnet\amd64;c:\WinDDK\7600.16385.1\lib\Crt\amd64 -set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64 +set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\ddk +set LIB=%WDK_ROOT%\lib\wnet\amd64;%WDK_ROOT%\lib\Crt\amd64 +set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin\amd64 set DEST=..\lua-wdk-5.1.4-2-x64 call etc\luavs-x64.bat @echo off @@ -14,19 +15,19 @@ mkdir %DEST% mkdir %DEST%\bin mkdir %DEST%\lib mkdir %DEST%\include -xcopy COPYRIGHT %DEST% +copy COPYRIGHT %DEST%\LICENSE.LUA :: binaries and libraries -xcopy src\lua.exe %DEST%\bin -xcopy src\lua51.dll %DEST%\bin -xcopy src\lua51.exp %DEST%\bin -xcopy src\luac.exe %DEST%\bin +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 -xcopy src\lua51.lib %DEST%\lib +copy src\lua51.lib %DEST%\lib :: api -xcopy src\lua.h %DEST%\include -xcopy src\luaconf.h %DEST%\include -xcopy src\lualib.h %DEST%\include -xcopy src\lauxlib.h %DEST%\include -xcopy etc\lua.hpp %DEST%\include +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 diff --git a/ext/lua-wdk/build-x86.bat b/ext/lua-wdk/build-x86.bat index dfa47b57..75a054ed 100644 --- a/ext/lua-wdk/build-x86.bat +++ b/ext/lua-wdk/build-x86.bat @@ -1,8 +1,9 @@ @echo off +set WDK_ROOT=c:\WinDDK\7600.16385.1 set OPATH=%PATH% -set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk -set LIB=c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386 -set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE +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 @@ -14,19 +15,19 @@ mkdir %DEST% mkdir %DEST%\bin mkdir %DEST%\lib mkdir %DEST%\include -xcopy COPYRIGHT %DEST% +copy COPYRIGHT %DEST%\LICENSE.LUA :: binaries and libraries -xcopy src\lua.exe %DEST%\bin -xcopy src\lua51.dll %DEST%\bin -xcopy src\lua51.exp %DEST%\bin -xcopy src\luac.exe %DEST%\bin +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 -xcopy src\lua51.lib %DEST%\lib +copy src\lua51.lib %DEST%\lib :: api -xcopy src\lua.h %DEST%\include -xcopy src\luaconf.h %DEST%\include -xcopy src\lualib.h %DEST%\include -xcopy src\lauxlib.h %DEST%\include -xcopy etc\lua.hpp %DEST%\include +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 |