Skip to content
Snippets Groups Projects
Commit 03b23f63 authored by Grégoire Kubler's avatar Grégoire Kubler Committed by Maxence Naud
Browse files

fix : removed set() since asan is now supported + friendly build log

parent d6758fc8
No related branches found
No related tags found
2 merge requests!50version 0.2.0,!44feat/support_ASAN
...@@ -47,8 +47,8 @@ target_link_libraries(${module_name} ...@@ -47,8 +47,8 @@ target_link_libraries(${module_name}
#Set target properties #Set target properties
set_property(TARGET ${module_name} PROPERTY POSITION_INDEPENDENT_CODE ON) set_property(TARGET ${module_name} PROPERTY POSITION_INDEPENDENT_CODE ON)
set(ENABLE_ASAN OFF)
if( ${ENABLE_ASAN} ) if( ${ENABLE_ASAN} )
message("Building ${module_name} with ASAN.")
set(SANITIZE_FLAGS -fsanitize=address -fno-omit-frame-pointer) set(SANITIZE_FLAGS -fsanitize=address -fno-omit-frame-pointer)
target_link_libraries(${module_name} target_link_libraries(${module_name}
PUBLIC PUBLIC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment