Added optional address sanitizer flags
This commit is contained in:
@@ -25,6 +25,10 @@ else()
|
||||
add_compile_options(-W -Wall -Wno-deprecated-declarations)
|
||||
endif()
|
||||
|
||||
# optional address sanitizer, outcomment to turn on
|
||||
#add_compile_options(-fsanitize=address)
|
||||
#add_link_options(-fsanitize=address)
|
||||
|
||||
# find git
|
||||
find_package(Git)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user