summary refs log tree commit diff stats
path: root/ext/lua-wdk/build-x64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ext/lua-wdk/build-x64.bat')
-rw-r--r--ext/lua-wdk/build-x64.bat29
1 files changed, 15 insertions, 14 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