chore: add batchfile build script

This commit is contained in:
Rim 2025-04-29 02:08:22 -04:00
parent 5653dee74f
commit c92382df49
2 changed files with 9 additions and 3 deletions

5
build.bat Normal file
View File

@ -0,0 +1,5 @@
@echo off
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\msbuild.exe" build\cod2m.sln /p:Configuration=Release /p:Platform=Win32
pause

View File

@ -1,4 +1,5 @@
@echo off
echo Updating submodules...
call git submodule update --init --recursive
call tools\premake5 %* vs2019 --copy-to="G:\SteamLibrary\steamapps\common\Call of Duty 2"
git submodule update --init --recursive
tools\premake5 %* vs2022
:: tools\premake5 %* vs2022 --copy-to="G:\SteamLibrary\steamapps\common\Call of Duty 2"