Skip to content

Commit

Permalink
Add -fsanitize=address to tests/src/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Dec 26, 2022
1 parent 55433fc commit 5a8d9f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ add_compile_options(-Wall)
add_compile_options(-Werror)
add_compile_options(-O2)

add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)

include_directories(${CMAKE_CURRENT_LIST_DIR}/../../include)
include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../vendor/include)

Expand Down

0 comments on commit 5a8d9f6

Please sign in to comment.