Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cmake g++ address sanitizer

set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cmake #address #sanitizer
ADD COMMENT
Topic
Name
7+9 =