Add switch for enabling debug symbols and logs
Enabling the switch on release builds will optimize the binaries as normal, but will still include debug symbols. This is advantageous for bugs that do not show up in debug builds without optimizations.
This commit is contained in:
@@ -118,3 +118,8 @@ unix {
|
||||
INSTALLS += application
|
||||
}
|
||||
|
||||
debugSymbolsAndLogs {
|
||||
message(Debug symbols and logging enabled.)
|
||||
CONFIG += force_debug_info
|
||||
DEFINES += ENABLE_DEBUG_LOGGING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user