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"