Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/misc/appveyorBuildConfigurationScript.bat
blob: 27efcd10e382dcae8ad6f07c7abfa87004f091a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@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
  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
)
if "%CONFIGURATION%"=="Release" (
  cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain%
)