2019-08-26 19:01:00 +02:00
|
|
|
@echo off
|
|
|
|
cd /d "%~dp0"
|
2019-04-13 18:21:56 +02:00
|
|
|
call build_set_protobuf_directories.bat
|
2019-08-26 19:01:00 +02:00
|
|
|
"%PROTOC_X86_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
|
2019-04-13 18:21:56 +02:00
|
|
|
call build_env_x86.bat
|
|
|
|
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
|
2019-12-09 07:40:27 +01:00
|
|
|
cl /LD /IImGui /Iglew\include /I%PROTOBUF_X86_DIRECTORY%\include\ /DGLEW_STATIC /DEMU_EXPERIMENTAL_BUILD /DCONTROLLER_SUPPORT dll/*.cpp dll/*.cc detours/*.cpp controller/gamepad.c ImGui/*.cpp ImGui/impls/*.cpp ImGui/impls/windows/*.cpp overlay_experimental/*.cpp overlay_experimental/windows/*.cpp "%PROTOBUF_X86_LIBRARY%" glew\lib\Release\Win32\glew32s.lib opengl32.lib Iphlpapi.lib Ws2_32.lib rtlgenrandom.lib Shell32.lib Winmm.lib /EHsc /MP12 /link /OUT:steam_api.dll
|
2019-04-13 18:21:56 +02:00
|
|
|
cl /LD steamclient.cpp /EHsc /MP12 /link /OUT:steamclient.dll
|
|
|
|
cl /LD steamnetworkingsockets.cpp /EHsc /MP12 /link /OUT:steamnetworkingsockets.dll
|
2019-08-26 19:01:00 +02:00
|
|
|
|
|
|
|
"%PROTOC_X64_EXE%" -I.\dll\ --cpp_out=.\dll\ .\dll\net.proto
|
2019-04-13 18:21:56 +02:00
|
|
|
call build_env_x64.bat
|
|
|
|
cl dll/rtlgenrandom.c dll/rtlgenrandom.def
|
2019-12-09 07:40:27 +01:00
|
|
|
cl /LD /IImGui /Iglew\include /I%PROTOBUF_X64_DIRECTORY%\include\ /DGLEW_STATIC /DEMU_EXPERIMENTAL_BUILD /DCONTROLLER_SUPPORT dll/*.cpp dll/*.cc detours/*.cpp controller/gamepad.c ImGui/*.cpp ImGui/impls/*.cpp ImGui/impls/windows/*.cpp overlay_experimental/*.cpp overlay_experimental/windows/*.cpp "%PROTOBUF_X64_LIBRARY%" glew\lib\Release\x64\glew32s.lib opengl32.lib Iphlpapi.lib Ws2_32.lib rtlgenrandom.lib Shell32.lib Winmm.lib /EHsc /MP12 /link /OUT:steam_api64.dll
|
2019-04-13 18:21:56 +02:00
|
|
|
cl /LD steamclient.cpp /EHsc /MP12 /link /OUT:steamclient64.dll
|
|
|
|
cl /LD steamnetworkingsockets.cpp /EHsc /MP12 /link /OUT:steamnetworkingsockets64.dll
|