Skip to content

Commit 2b40c0c

Browse files
committed
Debug symbols in release options
1 parent d0a9137 commit 2b40c0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ set(CMAKE_CXX_STANDARD 20)
77

88
if(MSVC)
99
add_compile_options(/MT)
10+
# add_compile_options("$<$<CONFIG:RELEASE>:/Zi>")
11+
# add_link_options("$<$<CONFIG:RELEASE>:/DEBUG>") # Enable debug symbols in release for edge cases.
1012
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")
1113
endif()
1214

0 commit comments

Comments
 (0)