Skip to content

Commit

Permalink
Test if sanitizers are enabled correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Apr 16, 2024
1 parent f5e7f3a commit 216dfd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/myproj/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ if(FEATURE_TESTS)
)
endif()

include(CMakePrintHelpers)
cmake_print_variables(ENABLE_SANITIZER_ADDRESS ENABLE_SANITIZER_UNDEFINED_BEHAVIOR)

# Detect custom linker
if(NOT MSVC)
find_linker(LINKER)
Expand Down

0 comments on commit 216dfd9

Please sign in to comment.