Add sanitizers to executable targets

This commit is contained in:
Jack Andersen 2018-05-06 13:07:12 -10:00
parent edf2c1e34d
commit 8241df0a1b
1 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,5 @@
add_executable(booTest WIN32 main.cpp) add_executable(booTest WIN32 main.cpp)
target_link_libraries(booTest boo logvisor xxhash ${BOO_SYS_LIBS}) target_link_libraries(booTest boo logvisor xxhash ${BOO_SYS_LIBS})
if(COMMAND add_sanitizers)
add_sanitizers(booTest)
endif()