compile and run script
This commit is contained in:
11
build-debug-and-run.bat
Normal file
11
build-debug-and-run.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user