2019-08-27 01:01:00 +08:00
|
|
|
@echo off
|
|
|
|
cd /d "%~dp0"
|
2019-04-14 00:21:56 +08:00
|
|
|
del /Q /S release\*
|
|
|
|
rmdir /S /Q release\experimental
|
|
|
|
rmdir /S /Q release\lobby_connect
|
|
|
|
rmdir /S /Q release
|
|
|
|
mkdir release
|
|
|
|
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:01:00 +08:00
|
|
|
cl /LD /DEMU_RELEASE_BUILD /DNDEBUG /I%PROTOBUF_X86_DIRECTORY%\include\ dll/*.cpp dll/*.cc "%PROTOBUF_X86_LIBRARY%" Iphlpapi.lib Ws2_32.lib rtlgenrandom.lib Shell32.lib /EHsc /MP12 /Ox /link /debug:none /OUT:release\steam_api.dll
|
|
|
|
call build_set_protobuf_directories.bat
|
|
|
|
"%PROTOC_X64_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
|
2019-04-14 00:21:56 +08:00
|
|
|
call build_env_x64.bat
|
|
|
|
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
|
2019-08-27 01:01:00 +08:00
|
|
|
cl /LD /DEMU_RELEASE_BUILD /DNDEBUG /I%PROTOBUF_X64_DIRECTORY%\include\ dll/*.cpp dll/*.cc "%PROTOBUF_X64_LIBRARY%" Iphlpapi.lib Ws2_32.lib rtlgenrandom.lib Shell32.lib /EHsc /MP12 /Ox /link /debug:none /OUT:release\steam_api64.dll
|
2019-04-14 00:21:56 +08:00
|
|
|
copy Readme_release.txt release\Readme.txt
|
|
|
|
xcopy /s files_example\* release\
|
|
|
|
call build_win_release_experimental.bat
|
|
|
|
call build_win_lobby_connect.bat
|
2019-05-15 20:24:39 +08:00
|
|
|
call build_win_find_interfaces.bat
|