Created batch files for building tools

This commit is contained in:
2022-08-21 14:46:07 +02:00
parent 37a7c582e7
commit 29ce5c4a77
3 changed files with 105 additions and 0 deletions

23
src/Tools/build_all.bat Normal file
View File

@@ -0,0 +1,23 @@
@echo off
rem build_all [clean]
set bin_projects=psxcdgen psxcdread
set clean_projects=cdtypes
set projects=%bin_projects%
set build_type=build
set cur_dir=%cd%
IF NOT "%~1" == "" (
IF "%~1" == "clean" (
set build_type=clean
set projects=%projects% %clean_projects%
) ELSE (
set build_type=%~1
)
)
for %%a in (%projects%) do (
call run_cargo %%a %build_type% release
cd %cur_dir%
)