Add logging

This commit is contained in:
Dmitry Kobets 2021-11-29 15:21:21 -08:00
parent 4cbd4165a8
commit bd2cc9e69d

View File

@ -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