Skip to content

Commit

Permalink
Leave symbols in for Release CMake builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Nov 13, 2023
1 parent f404980 commit 7926755
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
-O0
-fno-omit-frame-pointer
)
else()
add_compile_options(-g)
endif()

option(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF)
Expand Down

0 comments on commit 7926755

Please sign in to comment.