mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Increase Qt optimisation level to O3.
This commit is contained in:
parent
629d190afc
commit
a7d6b0b98b
@ -44,7 +44,7 @@ linux {
|
|||||||
|
|
||||||
# Main
|
# Main
|
||||||
SOURCES += ../native/base/QtMain.cpp
|
SOURCES += ../native/base/QtMain.cpp
|
||||||
#HEADERS += ../native/base/QtMain.h
|
HEADERS += ../native/base/QtMain.h
|
||||||
|
|
||||||
# UI
|
# UI
|
||||||
SOURCES += ../UI/*Screen.cpp \
|
SOURCES += ../UI/*Screen.cpp \
|
||||||
|
@ -6,13 +6,17 @@ DEFINES -= UNICODE
|
|||||||
INCLUDEPATH += ../ext/zlib ../native/ext/glew ../Common
|
INCLUDEPATH += ../ext/zlib ../native/ext/glew ../Common
|
||||||
|
|
||||||
win32-msvc* {
|
win32-msvc* {
|
||||||
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast
|
QMAKE_CXXFLAGS_RELEASE += /O3 /arch:SSE2 /fp:fast
|
||||||
DEFINES += _MBCS GLEW_STATIC NOMINMAX NODRAWTEXT _CRT_SECURE_NO_WARNINGS
|
DEFINES += _MBCS GLEW_STATIC NOMINMAX NODRAWTEXT _CRT_SECURE_NO_WARNINGS
|
||||||
PRECOMPILED_HEADER = ../Windows/stdafx.h
|
PRECOMPILED_HEADER = ../Windows/stdafx.h
|
||||||
PRECOMPILED_SOURCE = ../Windows/stdafx.cpp
|
PRECOMPILED_SOURCE = ../Windows/stdafx.cpp
|
||||||
} else {
|
} else {
|
||||||
QMAKE_CXXFLAGS += -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter
|
QMAKE_CXXFLAGS += -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter
|
||||||
QMAKE_CXXFLAGS += -std=c++0x -ffast-math -fno-strict-aliasing
|
QMAKE_CXXFLAGS += -std=c++0x -ffast-math -fno-strict-aliasing
|
||||||
|
QMAKE_CFLAGS_RELEASE -= -O2
|
||||||
|
QMAKE_CFLAGS_RELEASE += -O3
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||||
}
|
}
|
||||||
|
|
||||||
# Arch specific
|
# Arch specific
|
||||||
|
@ -168,7 +168,6 @@
|
|||||||
<addaction name="menuAnisotropic_filtering"/>
|
<addaction name="menuAnisotropic_filtering"/>
|
||||||
<addaction name="action_OptionsBufferedRendering"/>
|
<addaction name="action_OptionsBufferedRendering"/>
|
||||||
<addaction name="action_OptionsLinearFiltering"/>
|
<addaction name="action_OptionsLinearFiltering"/>
|
||||||
<addaction name="action_Simple_2xAA"/>
|
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="menuZoom"/>
|
<addaction name="menuZoom"/>
|
||||||
<addaction name="action_Stretch_to_display"/>
|
<addaction name="action_Stretch_to_display"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user