Fix optimized compiling options for windows
parent
74f5a081e3
commit
9e6b42ffac
26
dust3d.pro
26
dust3d.pro
|
@ -96,13 +96,29 @@ DEFINES += "PROJECT_DEFINED_APP_REFERENCE_GUIDE_URL=\"\\\"$$REFERENCE_GUIDE_URL\
|
||||||
DEFINES += "PROJECT_DEFINED_APP_UPDATES_CHECKER_URL=\"\\\"$$UPDATES_CHECKER_URL\\\"\""
|
DEFINES += "PROJECT_DEFINED_APP_UPDATES_CHECKER_URL=\"\\\"$$UPDATES_CHECKER_URL\\\"\""
|
||||||
DEFINES += "PROJECT_DEFINED_APP_PLATFORM=\"\\\"$$PLATFORM\\\"\""
|
DEFINES += "PROJECT_DEFINED_APP_PLATFORM=\"\\\"$$PLATFORM\\\"\""
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O
|
macx {
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O1
|
QMAKE_CXXFLAGS_RELEASE -= -O
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
QMAKE_CXXFLAGS_RELEASE -= -O1
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE += -O3
|
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -std=c++11
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
|
}
|
||||||
|
|
||||||
|
unix:!macx {
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O1
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||||
|
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||||
|
|
||||||
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
|
}
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
QMAKE_CXXFLAGS += /O2
|
||||||
|
}
|
||||||
|
|
||||||
include(thirdparty/QtAwesome/QtAwesome/QtAwesome.pri)
|
include(thirdparty/QtAwesome/QtAwesome/QtAwesome.pri)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue