mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Enable /std:c++latest (C++17) for AppVeyor VS 2017
This commit is contained in:
parent
b95163bd3a
commit
8f0feaa6d2
25
appveyor.yml
25
appveyor.yml
@ -1,15 +1,24 @@
|
|||||||
# version string format -- This will be overwritten later anyway
|
# version string format -- This will be overwritten later anyway
|
||||||
version: "{build}"
|
version: "{build}"
|
||||||
|
|
||||||
# Disable the dead branch for v2 development
|
|
||||||
branches:
|
|
||||||
except:
|
|
||||||
- develop-v2
|
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- Visual Studio 2013
|
|
||||||
- Visual Studio 2015
|
|
||||||
- Visual Studio 2017
|
- Visual Studio 2017
|
||||||
|
- Visual Studio 2015
|
||||||
|
- Visual Studio 2013
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- additional_flags: "/permissive- /std:c++latest"
|
||||||
|
- additional_flags: ""
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
-
|
||||||
|
additional_flags: "/permissive- /std:c++latest"
|
||||||
|
os: Visual Studio 2015
|
||||||
|
-
|
||||||
|
additional_flags: "/permissive- /std:c++latest"
|
||||||
|
os: Visual Studio 2013
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- git config --global core.autocrlf input
|
- git config --global core.autocrlf input
|
||||||
@ -32,7 +41,7 @@ configuration:
|
|||||||
|
|
||||||
#Cmake will autodetect the compiler, but we set the arch
|
#Cmake will autodetect the compiler, but we set the arch
|
||||||
before_build:
|
before_build:
|
||||||
- echo Running cmake...
|
- set CXXFLAGS=%additional_flags%
|
||||||
- cmake -H. -BBuild -A%PLATFORM%
|
- cmake -H. -BBuild -A%PLATFORM%
|
||||||
|
|
||||||
# build with MSBuild
|
# build with MSBuild
|
||||||
|
Loading…
Reference in New Issue
Block a user