MSVC doesn't support optimization flag -O3.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-07 14:40:59 +03:00
parent 3a4b78c42b
commit 342bf9d124

View File

@ -55,8 +55,10 @@ CONFIG(release, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
}
QMAKE_CXXFLAGS -= -O2 # Disable default optimization level
QMAKE_CXXFLAGS += -O3 # For vlayout library enable speed optimizations
!win32-msvc* {
QMAKE_CXXFLAGS -= -O2 # Disable default optimization level
QMAKE_CXXFLAGS += -O3 # For vlayout library enable speed optimizations
}
noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# do nothing