gbe_fork/build_win_lobby_connect.bat

13 lines
710 B
Batchfile
Raw Normal View History

2019-08-27 01:01:00 +08:00
@echo off
cd /d "%~dp0"
2019-04-14 00:21:56 +08:00
mkdir release\lobby_connect
del /Q release\lobby_connect\*
call build_set_protobuf_directories.bat
2019-08-27 01:01:00 +08:00
"%PROTOC_X86_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
2019-04-14 00:21:56 +08:00
call build_env_x86.bat
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
2019-08-27 01:32:06 +08:00
cl /DNO_OVERLAY /DNO_DISK_WRITES /DLOBBY_CONNECT /DEMU_RELEASE_BUILD /DNDEBUG /I%PROTOBUF_X86_DIRECTORY%\include\ lobby_connect.cpp dll/*.cpp dll/*.cc "%PROTOBUF_X86_LIBRARY%" Iphlpapi.lib Ws2_32.lib rtlgenrandom.lib Shell32.lib Comdlg32.lib /EHsc /MP12 /Ox /link /debug:none /OUT:release\lobby_connect\lobby_connect.exe
2019-04-14 00:21:56 +08:00
del /Q /S release\lobby_connect\*.lib
del /Q /S release\lobby_connect\*.exp
copy Readme_lobby_connect.txt release\lobby_connect\Readme.txt