2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:04:56 +00:00

Add ASan build capability

This commit is contained in:
Jack Andersen
2017-12-11 16:05:28 -10:00
parent 93711460f8
commit 758c602dc5
3 changed files with 8 additions and 3 deletions

View File

@@ -11,8 +11,10 @@ add_executable(hecl main.cpp
ToolAdd.hpp
ToolRemove.hpp
ToolSpec.hpp
../DataSpecRegistry.hpp
)
../DataSpecRegistry.hpp)
if(COMMAND add_sanitizers)
add_sanitizers(hecl)
endif()
if(NOT WIN32)
list(APPEND PLAT_LIBS pthread)

2
hecl/extern/boo vendored

Submodule hecl/extern/boo updated: 2db777eead...cb99c05284

View File

@@ -64,6 +64,9 @@ add_library(hecl-common
atdna_Runtime.cpp
atdna_CVar.cpp
${PLAT_SRCS})
if(COMMAND add_sanitizers)
add_sanitizers(hecl-common)
endif()
if(WINDOWS_STORE)
set_property(TARGET hecl-common PROPERTY VS_WINRT_COMPONENT TRUE)