Files
spacetris/build-debug-and-run.bat
2025-08-16 19:40:41 +02:00

12 lines
243 B
Batchfile

@echo off
REM Build and run debug executable for the Tetris project
SETLOCAL
cd /d "%~dp0"
cmake --build build-msvc --config Debug
if errorlevel 1 (
echo Build failed.
exit /b %ERRORLEVEL%
)
"%~dp0build-msvc\Debug\tetris.exe"
ENDLOCAL