Enable /std:c++latest (C++17) for AppVeyor VS 2017

This commit is contained in:
Martin Hořeňovský 2017-04-20 21:32:50 +02:00
parent b95163bd3a
commit 8f0feaa6d2

View File

@ -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