Skip to content

Commit ee169c4

Browse files
appveyor: Disable boost for non default compiler
The appveyor pre-installed software is only compiled with the default compiler and couldn't be used with other compiler versions. Signed-off-by: Stefan Herbrechtsmeier <[email protected]>
1 parent 0aaf956 commit ee169c4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

appveyor.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
version: 2.1.0.{build}
22

3+
image:
4+
- Visual Studio 2015
35
environment:
6+
global:
7+
BOOST_ROOT: C:\Libraries\boost_1_60_0
48
matrix:
59
- cpp11: -DMSGPACK_CXX11=OFF
6-
boost: -DMSGPACK_BOOST=ON
10+
boost: -DMSGPACK_BOOST=OFF
711
msvc: '"Visual Studio 10 2010"'
812
- cpp11: -DMSGPACK_CXX11=OFF
9-
boost: -DMSGPACK_BOOST=ON
13+
boost: -DMSGPACK_BOOST=OFF
1014
msvc: '"Visual Studio 11 2012"'
1115
- cpp11: -DMSGPACK_CXX11=OFF
12-
boost: -DMSGPACK_BOOST=ON
16+
boost: -DMSGPACK_BOOST=OFF
1317
msvc: '"Visual Studio 12 2013"'
1418
- cpp11: -DMSGPACK_CXX11=ON
1519
boost: -DMSGPACK_BOOST=ON
@@ -46,7 +50,7 @@ build_script:
4650
- cd ..
4751
- md build
4852
- cd build
49-
- cmake -G %msvc% %cpp11% %boost% %x3_parse% -DMSGPACK_BOOST_DIR=C:\Libraries\\boost_1_60_0 -DGTEST_LIBRARY=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\build\Release\gtest.lib -DGTEST_MAIN_LIBRARY=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\build\Release\gtest_main.lib -DGTEST_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\include -DZLIB_LIBRARY=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.11\build\Release\zlib.lib -DZLIB_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.11 -DCMAKE_CXX_FLAGS='"/D_VARIADIC_MAX=10 /EHsc"' ..
53+
- cmake -G %msvc% %cpp11% %boost% %x3_parse% -DGTEST_LIBRARY=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\build\Release\gtest.lib -DGTEST_MAIN_LIBRARY=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\build\Release\gtest_main.lib -DGTEST_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\googletest-release-1.7.0\include -DZLIB_LIBRARY=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.11\build\Release\zlib.lib -DZLIB_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.11 -DCMAKE_CXX_FLAGS='"/D_VARIADIC_MAX=10 /EHsc"' ..
5054
- cmake --build . --config Release
5155

5256
test_script:

0 commit comments

Comments
 (0)