You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
359 B
Batchfile

4 years ago
@echo off
REM This script expects to be run from the parent directory
REM ex. scripts/build.bat
IF not exist build/ (
echo This script needs to be run from the directory above build/
goto END
)
IF "%~1" == "r" (
cmake --build build/ --target ALL_BUILD --config Release
4 years ago
) ELSE (
cmake --build build/ --target ALL_BUILD --config Debug
4 years ago
)
:END