mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-24 12:40:47 +00:00
test/pts: enable ASAN in CMake build
This commit is contained in:
parent
23024990fd
commit
c77991ca33
@ -164,6 +164,10 @@ set(SOURCES
|
||||
)
|
||||
list(SORT SOURCES)
|
||||
|
||||
# Enable ASAN
|
||||
add_compile_options( -g -fsanitize=address)
|
||||
add_link_options( -fsanitize=address)
|
||||
|
||||
# create static lib
|
||||
add_library(btstack STATIC ${SOURCES})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user