Skip to content

Commit

Permalink
Re-added sanitation
Browse files Browse the repository at this point in the history
  • Loading branch information
Griezn committed Nov 5, 2024
1 parent d1ca7e2 commit 6e6aed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ if (CMAKE_C_COMPILER_ID STREQUAL "MSVC")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4 /WX")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-fsanitize=address,undefined)
add_link_options(-fsanitize=address,undefined)
endif()

set(CMAKE_CXX_FLAGS_RELEASE "-O3")

add_subdirectory(tests)

include_directories(include)
Expand Down

0 comments on commit 6e6aed5

Please sign in to comment.