Add ASan build capability

This commit is contained in:
Jack Andersen 2017-12-11 16:05:01 -10:00
parent 2db777eead
commit cb99c05284
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,9 @@ add_library(boo
InputDeviceClasses.cpp InputDeviceClasses.cpp
${PLAT_SRCS} ${PLAT_SRCS}
${PLAT_HDRS}) ${PLAT_HDRS})
if(COMMAND add_sanitizers)
add_sanitizers(boo)
endif()
add_subdirectory(test) add_subdirectory(test)