mirror of
https://github.com/microsoft/GSL.git
synced 2025-01-30 23:34:59 -05:00
Add logging
This commit is contained in:
parent
4cbd4165a8
commit
bd2cc9e69d
@ -62,6 +62,7 @@ endif()
|
|||||||
# please try to keep entries ordered =)
|
# please try to keep entries ordered =)
|
||||||
add_library(gsl_tests_config INTERFACE)
|
add_library(gsl_tests_config INTERFACE)
|
||||||
if(MSVC) # MSVC or simulating MSVC
|
if(MSVC) # MSVC or simulating MSVC
|
||||||
|
message(INFO, "br:MSVC")
|
||||||
target_compile_options(gsl_tests_config INTERFACE
|
target_compile_options(gsl_tests_config INTERFACE
|
||||||
${GSL_CPLUSPLUS_OPT}
|
${GSL_CPLUSPLUS_OPT}
|
||||||
/EHsc
|
/EHsc
|
||||||
@ -102,13 +103,13 @@ if(MSVC) # MSVC or simulating MSVC
|
|||||||
>
|
>
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
|
message(INFO, "br:MSVC:else")
|
||||||
target_compile_options(gsl_tests_config INTERFACE
|
target_compile_options(gsl_tests_config INTERFACE
|
||||||
-fno-strict-aliasing
|
-fno-strict-aliasing
|
||||||
-Wall
|
-Wall
|
||||||
-Wcast-align
|
-Wcast-align
|
||||||
-Wconversion
|
-Wconversion
|
||||||
-Wctor-dtor-privacy
|
-Wctor-dtor-privacy
|
||||||
-Werror
|
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wpedantic
|
-Wpedantic
|
||||||
-Wshadow
|
-Wshadow
|
||||||
|
Loading…
Reference in New Issue
Block a user