Added function to set sanitizer blacklist.

This commit is contained in:
Alexander Haase
2016-04-15 14:25:58 +02:00
parent f566e2b9ec
commit 1cefaef507
2 changed files with 12 additions and 0 deletions

View File

@ -150,6 +150,8 @@ function (saitizer_add_flags TARGET NAME PREFIX)
# Set compile- and link-flags for target.
set_property(TARGET ${TARGET} APPEND_STRING
PROPERTY COMPILE_FLAGS " ${${PREFIX}_${TARGET_COMPILER}_FLAGS}")
set_property(TARGET ${TARGET} APPEND_STRING
PROPERTY COMPILE_FLAGS " ${SanBlist_${TARGET_COMPILER}_FLAGS}")
set_property(TARGET ${TARGET} APPEND_STRING
PROPERTY LINK_FLAGS " ${${PREFIX}_${TARGET_COMPILER}_FLAGS}")
endfunction ()