Files
spacetris/build-debug-and-run.bat

12 lines
249 B
Batchfile

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