| | SETLOCAL EnableDelayedExpansion |
| | |
| | |
| | |
| | |
| | |
| | |
| | if "%CONFIGURATION%"=="Debug" ( |
| | if "%coverage%"=="1" ( |
| | |
| | cmake -Hmisc -Bbuild-misc -A%PLATFORM% || exit /b !ERRORLEVEL! |
| | cmake --build build-misc || exit /b !ERRORLEVEL! |
| | cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% -DMEMORYCHECK_COMMAND=build-misc\Debug\CoverageHelper.exe -DMEMORYCHECK_COMMAND_OPTIONS=--sep-- -DMEMORYCHECK_TYPE=Valgrind || exit /b !ERRORLEVEL! || exit /b !ERRORLEVEL! |
| | ) else ( |
| | |
| | python scripts\generateSingleHeader.py || exit /b !ERRORLEVEL! |
| | cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% -DCATCH_BUILD_EXAMPLES=%examples% -DCATCH_BUILD_EXTRA_TESTS=%examples% || exit /b !ERRORLEVEL! |
| | ) |
| | ) |
| | if "%CONFIGURATION%"=="Release" ( |
| | cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% || exit /b !ERRORLEVEL! |
| | ) |
| |
|