2017-12-03 13:03:52 +01:00
|
|
|
@REM # In debug build, we want to
|
|
|
|
@REM # 1) Prebuild memcheck redirecter
|
|
|
|
@REM # 2) Regenerate single header include for examples
|
|
|
|
@REM # 3) Enable building examples
|
|
|
|
if "%CONFIGURATION%"=="Debug" (
|
|
|
|
python scripts\generateSingleHeader.py
|
|
|
|
cmake -Hmisc -Bbuild-misc -A%PLATFORM%
|
|
|
|
cmake --build build-misc
|
2018-01-18 19:20:08 +01:00
|
|
|
cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% -DCATCH_BUILD_EXAMPLES=ON -DMEMORYCHECK_COMMAND=build-misc\Debug\CoverageHelper.exe -DMEMORYCHECK_COMMAND_OPTIONS=--sep-- -DMEMORYCHECK_TYPE=Valgrind
|
2017-12-03 13:03:52 +01:00
|
|
|
)
|
|
|
|
if "%CONFIGURATION%"=="Release" (
|
|
|
|
cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain%
|
|
|
|
)
|