Add sanitizers to executable targets

This commit is contained in:
Jack Andersen 2018-05-06 13:06:49 -10:00
parent 3833c137f6
commit 594fb346e1
1 changed files with 6 additions and 0 deletions

View File

@ -116,6 +116,12 @@ if(TARGET boo AND NOT WINDOWS_STORE)
add_executable(amuserender driver/amuserender.cpp)
target_link_libraries(amuserender amuse boo ${BOO_SYS_LIBS} logvisor athena-core athena-libyaml ${ZLIB_LIBRARIES} ${LZO_LIB})
if(COMMAND add_sanitizers)
add_sanitizers(amuseplay)
add_sanitizers(amuseconv)
add_sanitizers(amuserender)
endif()
# Editor
find_package(Qt5Widgets)
if (Qt5Widgets_FOUND)