Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/mono/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ elseif(CLR_CMAKE_HOST_OS STREQUAL "windows")
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/Zi>) # enable debugging information
add_link_options(/LTCG) # link-time code generation
add_link_options(/DEBUG) # enable debugging information
add_link_options(/DEBUGTYPE:CV,FIXUP) # enable fixup debug information
add_link_options(/OPT:REF) # optimize: remove unreferenced functions & data
add_link_options(/OPT:ICF) # optimize: enable COMDAT folding
# the combination of /Zi compiler flag and /DEBUG /OPT:REF /OPT:ICF
Expand Down