2010-08-16 07:19:54 -04:00
|
|
|
@echo off
|
2010-10-29 13:40:02 -04:00
|
|
|
set WDK_ROOT=c:\WinDDK\7600.16385.1
|
2010-08-16 07:19:54 -04:00
|
|
|
set OPATH=%PATH%
|
2010-10-29 13:40:02 -04:00
|
|
|
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
|
2010-08-16 08:39:35 -04:00
|
|
|
set DEST=..\lua-wdk-5.1.4-2-x86
|
2010-08-16 07:19:54 -04:00
|
|
|
call etc\luavs.bat
|
|
|
|
@echo off
|
|
|
|
echo.Press return when ready to install!
|
|
|
|
pause
|
|
|
|
set PATH=%OPATH%
|
|
|
|
rmdir /Q /S %DEST%
|
2010-08-16 08:39:35 -04:00
|
|
|
mkdir %DEST%
|
|
|
|
mkdir %DEST%\bin
|
|
|
|
mkdir %DEST%\lib
|
|
|
|
mkdir %DEST%\include
|
2010-10-29 13:40:02 -04:00
|
|
|
copy COPYRIGHT %DEST%\LICENSE.LUA
|
2010-08-16 08:39:35 -04:00
|
|
|
:: binaries and libraries
|
2010-10-29 13:40:02 -04:00
|
|
|
copy src\lua.exe %DEST%\bin
|
|
|
|
copy src\lua51.dll %DEST%\bin
|
|
|
|
copy src\lua51.exp %DEST%\bin
|
|
|
|
copy src\luac.exe %DEST%\bin
|
2010-08-16 08:39:35 -04:00
|
|
|
:: library
|
2010-10-29 13:40:02 -04:00
|
|
|
copy src\lua51.lib %DEST%\lib
|
2010-08-16 08:39:35 -04:00
|
|
|
:: api
|
2010-10-29 13:40:02 -04:00
|
|
|
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
|
2010-08-16 07:19:54 -04:00
|
|
|
echo.Finished!
|
|
|
|
pause
|