From 61d5cf563475af1f0b6750b59b4e430e14f493cf Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Fri, 23 Mar 2018 16:02:15 +0100 Subject: [PATCH] Added /std:cxx?? to appveyor builds Build for c++17 disabled as Boost has not yet released a fully Visual Studio 2017 c++17 ready version. --- appveyor.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d6a844f..3880f4f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,11 +9,16 @@ skip_branch_with_pr: true environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - BOOST_ROOT: C:\Libraries\boost_1_59_0 + BOOST: 1_59_0 TOOLSET: msvc-14.0 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - BOOST_ROOT: C:\Libraries\boost_1_65_1 + BOOST: 1_65_1 TOOLSET: msvc-14.1 + CXX_STANDARD: 14 + # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + # BOOST: 1_65_1 + # TOOLSET: msvc-14.1 + # CXX_STANDARD: 17 platform: - 32 @@ -36,7 +41,9 @@ install: - xsltproc -V build_script: + - set BOOST_ROOT=C:\Libraries\boost_%BOOST% - cd %BOOST_ROOT% - call bootstrap.bat - cd C:\projects\turtle\build - - call build.bat --toolset=%TOOLSET% address-model=%PLATFORM% --build-type=complete %CONFIGURATION% + - if NOT "%CXX_STANDARD%"=="" set CXX_FLAGS=cxxflags=/std:c++%CXX_STANDARD% + - call build.bat --toolset=%TOOLSET% address-model=%PLATFORM% %CXX_FLAGS% --build-type=complete %CONFIGURATION%