/
githubmirror
/
libnet
Обзор
Документация
Войти
/
githubmirror
/
libnet
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
libnet-1.2-rc1
lua/msvcbuild.bat
22 строки
799 B
Sam Roberts
Pass build errors to caller of batch files.
16 ноя 2012, 01:00
16 ноя 2012, 01:00
0bfd1c2
Код
Авторство
О чём код?
@rem Script to build lua binding under "Visual Studio .NET Command Prompt". @rem Dependencies are: @rem Lua @rem winpcap, specifically, the winpcap developer pack @rem dnet, Dug Song's net library, aka libdumbnet @setlocal @set MYCOMPILE=cl /nologo /MD /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE @set MYLINK=link /nologo @set MYMT=mt /nologo @set LUA=..\..\lua\src @set WINPCAP=..\..\WpdPack @set DNET=..\..\libdnet copy dnet.h.win32 dnet.h %MYCOMPILE% /I..\libnet\include /I%LUA% /I%WINPCAP%\Include /I%DNET%\include *.c %MYLINK% /DLL /export:luaopen_net /libpath:%WINPCAP%\Lib /out:net.dll *.obj %LUA%\lua51.lib ..\libnet\src\libnet.lib %DNET%\lib\dnet.lib if exist net.dll.manifest^ %MYMT% -manifest net.dll.manifest -outputresource:net.dll;2 exit /b %errorlevel%