mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-05-23 21:57:40 +08:00
Fix list: - Make cmd not choke on recursive calls to build_env_x*.bat. - Create build directories and move build output there instead of polluting the root of the source tree. - Make proper debug builds with pdb output. - Make proper x64 builds of lobby_connect, and steamclient_loader. (lobby_connect_x64.exe, and steamclient_loader_x64.exe) - Rename x86 build of lobby_connect.exe to lobby_connect_x86.exe. - Rename x86 build of steamclient_loader.exe to steamclient_loader_x86.exe. - Make proper distrib directories. (I.e. <release,debug>/<build type>/<arch>/<binaries>.)
21 lines
755 B
Batchfile
Executable File
21 lines
755 B
Batchfile
Executable File
@echo off
|
|
cd /d "%~dp0"
|
|
|
|
IF NOT EXIST build ( mkdir build )
|
|
IF NOT EXIST build\release ( mkdir build\release )
|
|
IF NOT EXIST build\release\tools ( mkdir build\release\tools )
|
|
IF NOT EXIST build\release\tools\x86 ( mkdir build\release\tools\x86 )
|
|
IF EXIST build\release\tools\x86\*.* ( DEL /F /S /Q build\release\tools\x86\*.* )
|
|
|
|
IF NOT EXIST release\tools ( mkdir release\tools )
|
|
IF EXIST release\tools\*.* ( DEL /F /S /Q release\tools\*.* )
|
|
|
|
setlocal
|
|
call build_env_x86.bat
|
|
SET OLD_DIR=%cd%
|
|
cd build\release\tools\x86
|
|
cl %OLD_DIR%/generate_interfaces_file.cpp /EHsc /MP12 /Ox /link /debug:none /OUT:%OLD_DIR%\release\tools\generate_interfaces_file.exe
|
|
cd %OLD_DIR%
|
|
copy Readme_generate_interfaces.txt release\tools\Readme_generate_interfaces.txt
|
|
endlocal
|