Skip to content

Commit

Permalink
Attempt to fix .pdb yet again.
Browse files Browse the repository at this point in the history
Seems linking needs /DEBUG or it is stripped out.

Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 12, 2023
1 parent 9111a17 commit d2b239c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ endif()
# Add .pdb debug symbols - always.
# /Z7 is embedded, /Zi is .pdb.
add_compile_options(/Zi)
add_link_options(/DEBUG)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DDBG -DZFS_DEBUG)
Expand Down

0 comments on commit d2b239c

Please sign in to comment.