transm/xp_build.bat
2025-02-16 13:07:11 +08:00

12 lines
218 B
Batchfile

@echo off
cmake -Bxpbuild -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
cd xpbuild
cpack
if %errorlevel% neq 0 (
echo Error: cmake build failed.
pause
exit /b 1
)
echo Build completed successfully.
pause