From c92382df4900469bf651a06d4087cd6e45f1de0b Mon Sep 17 00:00:00 2001 From: Rim Date: Tue, 29 Apr 2025 02:08:22 -0400 Subject: [PATCH] chore: add batchfile build script --- build.bat | 5 +++++ generate.bat | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 build.bat diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..06927a6 --- /dev/null +++ b/build.bat @@ -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 diff --git a/generate.bat b/generate.bat index d2a8438..f15b2d5 100644 --- a/generate.bat +++ b/generate.bat @@ -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"