[build] also generate debugging symbols for Release builds in Xcode
This commit is contained in:
@@ -191,6 +191,9 @@ function(initialize_xcode_cxx_build_settings target)
|
||||
|
||||
# -flto
|
||||
set_xcode_property(${target} LLVM_LTO $<$<OR:$<CONFIG:Release>,$<CONFIG:RelWithDebugInfo>>:YES>)
|
||||
|
||||
# Make releases debuggable.
|
||||
set_xcode_property(${target} GCC_GENERATE_DEBUGGING_SYMBOLS YES)
|
||||
endfunction()
|
||||
|
||||
# CMake 3.1 does not have this yet.
|
||||
|
||||
Reference in New Issue
Block a user