Add whole program optimization to MSVC

This commit is contained in:
Vasily
2019-02-21 18:48:53 +01:00
committed by username223
parent a7706c1b0b
commit 68a72ded1f
2 changed files with 7 additions and 0 deletions
@@ -9,3 +9,6 @@ QMAKE_CXXFLAGS += /W4 /wd4127
# but no suitable replacement has been standardized yet. It is possible to use the Windows
# specific MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h>
DEFINES += _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
# Enables Whole Program Optimization
QMAKE_CXXFLAGS += /Gw