Leave symbols in for Release CMake builds too
This commit is contained in:
parent
f404980ec0
commit
7926755704
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||||
-O0
|
-O0
|
||||||
-fno-omit-frame-pointer
|
-fno-omit-frame-pointer
|
||||||
)
|
)
|
||||||
|
else()
|
||||||
|
add_compile_options(-g)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF)
|
option(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF)
|
||||||
|
|
Loading…
Reference in a new issue