Files
GabsPuNs-Project_Zenith_Main/build.bat

10 lines
397 B
Batchfile

@echo off
call "C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvars64.bat"
rem Regenerate build system using the windows64 preset (clears stale cache)
if exist build\windows64\CMakeCache.txt del build\windows64\CMakeCache.txt
cmake --preset windows64
if %errorlevel% neq 0 exit /b %errorlevel%
cmake --build build\windows64 --config Release --target Minecraft.Client