diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-08-20 12:31:35 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-08-20 17:50:46 +0200 |
commit | 036a75037ab2d7d015fedb4896c8f17b37574c6d (patch) | |
tree | 1b6b4ab317a2510729333d8381206d746f2afdc4 /cmake | |
parent | ff077e9ea9bd521e92ec071409b734d8da15d4fb (diff) | |
download | qtlocation-mapboxgl-036a75037ab2d7d015fedb4896c8f17b37574c6d.tar.gz |
[build] also generate debugging symbols for Release builds in Xcode
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/mbgl.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index 9dd29375ef..2381c01205 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -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. |