Change how the boost target works; disable external warnings in MSVC

This commit is contained in:
Hamish Milne 2019-12-30 00:51:06 +00:00 committed by zhupengfei
parent a0ac302a93
commit 9877bf7d48
5 changed files with 42 additions and 22 deletions

View file

@ -37,7 +37,7 @@ if (MSVC)
/Zo
/permissive-
/EHsc
/std:c++latest
/std:c++17
/volatile:iso
/Zc:externConstexpr
/Zc:inline
@ -46,6 +46,10 @@ if (MSVC)
add_compile_options(
/MP
/Zc:throwingNew
/experimental:external
/external:I "${CMAKE_SOURCE_DIR}/externals"
/external:anglebrackets
/external:W0
)
endif()