Generate minimal debug symbols on Linux and Mac

This commit is contained in:
Mat Sutcliffe
2021-05-21 17:52:52 +01:00
parent fa6d732b07
commit 1350fada3a

View File

@@ -62,6 +62,8 @@ swiftConfig(releaseWithDebugInfo) {
unix {
CONFIG += force_debug_info
CONFIG += separate_debug_info
llvm: QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -gline-tables-only
else: QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -g1 -gz
}
}
swiftConfig(profileRelease) {