Skip to content

Commit db3fe07

Browse files
committed
Test with '/permissive-' flag in AppVeyor for Visual Studio 2017.
1 parent f82b175 commit db3fe07

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,25 @@ environment:
55
ARCH: Win32
66
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib32-msvc-14.0
77
CMAKE_GENERATOR: Visual Studio 14 2015
8+
FLAGS: ""
89

910
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
1011
ARCH: x64
1112
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14.0
1213
CMAKE_GENERATOR: Visual Studio 14 2015 Win64
14+
FLAGS: ""
1315

1416
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
1517
ARCH: Win32
1618
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib32-msvc-14.1
1719
CMAKE_GENERATOR: Visual Studio 15 2017
20+
FLAGS: "/permissive-"
1821

1922
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2023
ARCH: x64
2124
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14.1
2225
CMAKE_GENERATOR: Visual Studio 15 2017 Win64
26+
FLAGS: "/permissive-"
2327

2428
configuration:
2529
- Debug
@@ -29,7 +33,7 @@ build_script:
2933
- cd tests
3034
- mkdir build
3135
- cd build
32-
- cmake .. -G"%CMAKE_GENERATOR%"
36+
- cmake .. -G"%CMAKE_GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%"
3337
- cmake --build . --config %CONFIGURATION%
3438

3539
test_script:

0 commit comments

Comments
 (0)