1 # version string format -- This will be overwritten later anyway
11 - additional_flags: "/permissive- /std:c++latest"
14 - additional_flags: ""
17 - additional_flags: "/D_UNICODE /DUNICODE"
23 additional_flags: "/permissive- /std:c++latest"
24 os: Visual Studio 2015
26 additional_flags: "/permissive- /std:c++latest"
27 os: Visual Studio 2013
30 - git config --global core.autocrlf input
31 # Set build version to git commit-hash
32 - ps: Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_BRANCH) - $($env:APPVEYOR_REPO_COMMIT)"
34 # fetch repository as zip archive
37 # Win32 and x64 are CMake-compatible solution platform names.
38 # This allows us to pass %PLATFORM% to CMake -A.
43 # build Configurations, i.e. Debug, Release, etc.
48 #Cmake will autodetect the compiler, but we set the arch
50 - set CXXFLAGS=%additional_flags%
51 - cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain%
55 project: Build\CatchSelfTest.sln # path to Visual Studio solution or project
56 parallel: true # enable MSBuild parallel builds
57 verbosity: normal # MSBuild verbosity level {quiet|minimal|normal|detailed}
61 - ctest -V -j 2 -C %CONFIGURATION%