Fix optimized compiling options for windows
parent
74f5a081e3
commit
9e6b42ffac
16
dust3d.pro
16
dust3d.pro
|
@ -96,6 +96,7 @@ DEFINES += "PROJECT_DEFINED_APP_REFERENCE_GUIDE_URL=\"\\\"$$REFERENCE_GUIDE_URL\
|
|||
DEFINES += "PROJECT_DEFINED_APP_UPDATES_CHECKER_URL=\"\\\"$$UPDATES_CHECKER_URL\\\"\""
|
||||
DEFINES += "PROJECT_DEFINED_APP_PLATFORM=\"\\\"$$PLATFORM\\\"\""
|
||||
|
||||
macx {
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O1
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
|
@ -103,6 +104,21 @@ QMAKE_CXXFLAGS_RELEASE -= -O2
|
|||
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue