Move GCC compiler to azure

This commit is contained in:
Jonathan Müller 2018-12-18 18:14:05 +01:00
commit facd7310ec
4 changed files with 22 additions and 73 deletions

View file

@ -113,6 +113,8 @@ target_compile_options(cppast PRIVATE
# clang/GCC warnings
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
-pedantic-errors -Werror -Wall -Wextra -Wconversion -Wsign-conversion>
# disable noexcept type warning on GCC
$<$<CXX_COMPILER_ID:GNU>: -Wno-noexcept-type>
# MSVC warnings
$<$<CXX_COMPILER_ID:MSVC>:
/WX /W4>)