mirror of https://github.com/AxioDL/metaforce.git
Add ASan build capability
This commit is contained in:
parent
93711460f8
commit
758c602dc5
|
@ -11,8 +11,10 @@ add_executable(hecl main.cpp
|
||||||
ToolAdd.hpp
|
ToolAdd.hpp
|
||||||
ToolRemove.hpp
|
ToolRemove.hpp
|
||||||
ToolSpec.hpp
|
ToolSpec.hpp
|
||||||
../DataSpecRegistry.hpp
|
../DataSpecRegistry.hpp)
|
||||||
)
|
if(COMMAND add_sanitizers)
|
||||||
|
add_sanitizers(hecl)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
list(APPEND PLAT_LIBS pthread)
|
list(APPEND PLAT_LIBS pthread)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2db777eead15d599d774820b8065c8125bfa2907
|
Subproject commit cb99c0528464770cf9a70e3cffe9e48d99220d4e
|
|
@ -64,6 +64,9 @@ add_library(hecl-common
|
||||||
atdna_Runtime.cpp
|
atdna_Runtime.cpp
|
||||||
atdna_CVar.cpp
|
atdna_CVar.cpp
|
||||||
${PLAT_SRCS})
|
${PLAT_SRCS})
|
||||||
|
if(COMMAND add_sanitizers)
|
||||||
|
add_sanitizers(hecl-common)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WINDOWS_STORE)
|
if(WINDOWS_STORE)
|
||||||
set_property(TARGET hecl-common PROPERTY VS_WINRT_COMPONENT TRUE)
|
set_property(TARGET hecl-common PROPERTY VS_WINRT_COMPONENT TRUE)
|
||||||
|
|
Loading…
Reference in New Issue