mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
d1a4adc5bd
# Conflicts: # .gitlab-ci.yml # dll/steam_client.cpp # dll/steam_inventory.h # dll/steam_user_stats.h
24 lines
1.2 KiB
Batchfile
Executable file
24 lines
1.2 KiB
Batchfile
Executable file
@echo off
|
|
cd /d "%~dp0"
|
|
del /Q /S release\*
|
|
rmdir /S /Q release\experimental
|
|
rmdir /S /Q release\experimental_steamclient
|
|
rmdir /S /Q release\lobby_connect
|
|
rmdir /S /Q release
|
|
mkdir release
|
|
call build_set_protobuf_directories.bat
|
|
"%PROTOC_X86_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
|
|
call build_env_x86.bat
|
|
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
|
|
cl /LD /DNO_OVERLAY /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
|
|
|
|
"%PROTOC_X64_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
|
|
call build_env_x64.bat
|
|
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
|
|
cl /LD /DNO_OVERLAY /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
|
|
copy Readme_release.txt release\Readme.txt
|
|
xcopy /s files_example\* release\
|
|
call build_win_release_experimental.bat
|
|
call build_win_release_experimental_steamclient.bat
|
|
call build_win_lobby_connect.bat
|
|
call build_win_find_interfaces.bat
|