diff --git a/CMakeLists.txt b/CMakeLists.txt index 2abf819..08f924e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,9 @@ project(allocPool) set(CMAKE_CXX_STANDARD 23) +add_compile_options(-fsanitize=address) +add_link_options(-fsanitize=address) + add_executable(allocPool main.cpp allocPool.hpp tests.cpp