mirror of https://github.com/AxioDL/metaforce.git
Add sanitizers to executable targets
This commit is contained in:
parent
b798f14523
commit
95d9283800
|
@ -49,6 +49,9 @@ add_executable(hecl-gui WIN32 MACOSX_BUNDLE
|
||||||
DownloadManager.hpp DownloadManager.cpp
|
DownloadManager.hpp DownloadManager.cpp
|
||||||
ExtractZip.hpp ExtractZip.cpp ${QUAZIP_SRCS}
|
ExtractZip.hpp ExtractZip.cpp ${QUAZIP_SRCS}
|
||||||
Common.hpp Common.cpp ${PLAT_SRCS} main.cpp)
|
Common.hpp Common.cpp ${PLAT_SRCS} main.cpp)
|
||||||
|
if(COMMAND add_sanitizers)
|
||||||
|
add_sanitizers(hecl-gui)
|
||||||
|
endif()
|
||||||
|
|
||||||
set_target_properties(hecl-gui PROPERTIES
|
set_target_properties(hecl-gui PROPERTIES
|
||||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist")
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist")
|
||||||
|
|
Loading…
Reference in New Issue