test
This commit is contained in:
parent
be4a49586c
commit
d1dddd8758
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
|
||||
add_compile_options(-stdlib=libc++)
|
||||
add_compile_options(-Wall -Wextra -pedantic-errors)
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||
add_compile_options(/W4)
|
||||
|
|
Loading…
Reference in a new issue