2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 12:35:52 +00:00

Add sanitizers to executable targets

This commit is contained in:
Jack Andersen 2018-05-06 13:09:17 -10:00
parent b798f14523
commit 95d9283800

View File

@ -49,6 +49,9 @@ add_executable(hecl-gui WIN32 MACOSX_BUNDLE
DownloadManager.hpp DownloadManager.cpp
ExtractZip.hpp ExtractZip.cpp ${QUAZIP_SRCS}
Common.hpp Common.cpp ${PLAT_SRCS} main.cpp)
if(COMMAND add_sanitizers)
add_sanitizers(hecl-gui)
endif()
set_target_properties(hecl-gui PROPERTIES
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist")