*
This commit is contained in:
@@ -32,9 +32,9 @@ add_library(luavox_common INTERFACE)
|
||||
target_compile_features(luavox_common INTERFACE cxx_std_23)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_compile_options(luavox_common INTERFACE -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize-recover=all)
|
||||
target_link_options(luavox_common INTERFACE -fsanitize=address,undefined)
|
||||
set(ENV{ASAN_OPTIONS} detect_leaks=0)
|
||||
# target_compile_options(luavox_common INTERFACE -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize-recover=all)
|
||||
# target_link_options(luavox_common INTERFACE -fsanitize=address,undefined)
|
||||
# set(ENV{ASAN_OPTIONS} detect_leaks=0)
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
|
||||
|
||||
Reference in New Issue
Block a user