mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Add /Zo to release flags for improved optimized build debugging
Updated compiler.pri to make use of the new /Zo option to improve our debugging capabilities on optimized builds. This flag is officially supported since Visual Studio 2013 Update 3.
This commit is contained in:
parent
f6e17feace
commit
bf2a2cd67c
@ -166,11 +166,13 @@ win32 {
|
||||
# (https://msdn.microsoft.com/en-us/library/fsk896zz.aspx).
|
||||
# This includes explicitely disabling /Oy to help debugging
|
||||
# (https://msdn.microsoft.com/en-us/library/2kxx5t2c.aspx).
|
||||
# Also set /Zo to enhance optimized debugging
|
||||
# (https://msdn.microsoft.com/en-us/library/dn785163.aspx?f=255&MSPPError=-2147217396).
|
||||
QMAKE_CFLAGS_RELEASE -= -Oy
|
||||
QMAKE_CXXFLAGS_RELEASE -= -Oy
|
||||
|
||||
QMAKE_CFLAGS_RELEASE *= -GR -Zi -Oy-
|
||||
QMAKE_CXXFLAGS_RELEASE *= -GR -Zi -Oy-
|
||||
QMAKE_CFLAGS_RELEASE *= -GR -Zi -Zo -Oy-
|
||||
QMAKE_CXXFLAGS_RELEASE *= -GR -Zi -Zo -Oy-
|
||||
|
||||
QMAKE_LFLAGS *= /DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user