Only set /permissive- on Appveyor

This commit is contained in:
Vinnie Falco
2017-08-09 17:17:33 -07:00
parent d9d2b10760
commit da8bc6594d
3 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ Version 104:
* Remove unused include
* Use #error in config.hpp
* Only set -std=c++11 on Travis
* Only set /permissive- on Appveyor
--------------------------------------------------------------------------------

View File

@@ -101,7 +101,7 @@ project /boost/beast
<define>BOOST_ASIO_NO_DEPRECATED=1
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS=1
<toolset>msvc:<cxxflags>"/permissive- /bigobj"
<toolset>msvc:<cxxflags>"/bigobj"
<toolset>msvc:<variant>release:<cxxflags>"/Ob2 /Oi /Ot"
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl

View File

@@ -90,5 +90,5 @@ install:
build: off
test_script:
- b2 libs/beast/example toolset=msvc-14.0
- b2 libs/beast/test toolset=msvc-14.0
- b2 libs/beast/example toolset=msvc-14.0 cxxflags=/permissive-
- b2 libs/beast/test toolset=msvc-14.0 cxxflags=/permissive-