Skip to content

Commit

Permalink
[build] Add LSan as a debug build option
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigma711 committed Aug 30, 2023
1 parent fa38d8a commit 4716923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SET(CMAKE_CXX_STANDARD 17)

SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++17")

SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++17 -fsanitize=address -Wall -O0 -DTAOTU_DEBUG")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++17 -fsanitize=address,leak -Wall -O0 -DTAOTU_DEBUG")

ADD_DEFINITIONS(-Wno-format-security)

Expand Down

0 comments on commit 4716923

Please sign in to comment.