summary refs log tree commit diff stats
path: root/win32/ext/lua-wdk/build-x64.bat
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-11 14:29:37 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-11 14:29:37 +0100
commit2012320d0eed36e0461e44ac9be8cc162c135bf5 (patch)
tree6c8674c36fa245b421c38b60f7031a71a0b2ad4b /win32/ext/lua-wdk/build-x64.bat
parent1b84f0467a169e2b20018dce0787973a0ba52273 (diff)
restructuring
Diffstat (limited to 'win32/ext/lua-wdk/build-x64.bat')
-rw-r--r--win32/ext/lua-wdk/build-x64.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/win32/ext/lua-wdk/build-x64.bat b/win32/ext/lua-wdk/build-x64.bat
new file mode 100644
index 00000000..a160cd97
--- /dev/null
+++ b/win32/ext/lua-wdk/build-x64.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\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

+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