summary refs log tree commit diff stats
path: root/ext/lua-wdk/build-x86.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 14:39:35 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 14:39:35 +0200
commitdf49b9412d3ee3ffd1cacef7f0f844d10c4c31b9 (patch)
tree44a02e760586d705f0c5445c9a25581290b76bf1 /ext/lua-wdk/build-x86.bat
parentd194c520e7888ffa650b319c42cd30db3c53ddfb (diff)
some heavy restructuring and reformatting
Diffstat (limited to 'ext/lua-wdk/build-x86.bat')
-rw-r--r--ext/lua-wdk/build-x86.bat21
1 files changed, 18 insertions, 3 deletions
diff --git a/ext/lua-wdk/build-x86.bat b/ext/lua-wdk/build-x86.bat
index a5cebfd9..e912a472 100644
--- a/ext/lua-wdk/build-x86.bat
+++ b/ext/lua-wdk/build-x86.bat
@@ -3,15 +3,30 @@ 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:\WinDDK\7600.16385.1\bin\x86\x86;c:\WinDDK\7600.16385.1\bin\x86;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

-set DEST=..\lua-5.1.4-2-wdk-x86

+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%

-xcopy /S /I src %DEST%

+mkdir %DEST%

+mkdir %DEST%\bin

+mkdir %DEST%\lib

+mkdir %DEST%\include

 xcopy COPYRIGHT %DEST%

-del %DEST%\Makefile

+:: 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

+:: library

+xcopy 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

 echo.Finished!

 pause