mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Support other MSVC compilers in Qt. Update native reference.
This commit is contained in:
parent
aac079f5ac
commit
3faeeea2f9
4 changed files with 9 additions and 8 deletions
|
@ -27,7 +27,6 @@
|
|||
#undef _interlockedbittestandreset
|
||||
#undef _interlockedbittestandset64
|
||||
#undef _interlockedbittestandreset64
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
||||
#ifndef _M_GENERIC
|
||||
|
|
|
@ -6,7 +6,7 @@ CONFIG += staticlib
|
|||
|
||||
include(Settings.pri)
|
||||
|
||||
INCLUDEPATH += ../native ../Core/MIPS ../Common ../
|
||||
INCLUDEPATH += ../native ../Core/MIPS ../
|
||||
|
||||
arm {
|
||||
SOURCES += ../Core/MIPS/ARM/*.cpp \ #CoreARM
|
||||
|
|
|
@ -4,11 +4,13 @@ unix:!blackberry:!symbian:!macx: CONFIG += linux
|
|||
|
||||
# Global specific
|
||||
DEFINES -= UNICODE
|
||||
INCLUDEPATH += ../ext/zlib ../native/ext/glew
|
||||
INCLUDEPATH += ../ext/zlib ../native/ext/glew ../Common
|
||||
|
||||
win32-msvc2010 {
|
||||
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2
|
||||
DEFINES += _MBCS GLEW_STATIC
|
||||
win32-msvc* {
|
||||
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast
|
||||
DEFINES += _MBCS GLEW_STATIC NOMINMAX
|
||||
PRECOMPILED_HEADER = ../Windows/stdafx.h
|
||||
PRECOMPILED_SOURCE = ../Windows/stdafx.cpp
|
||||
} 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 += -std=c++0x -ffast-math -fno-strict-aliasing
|
||||
|
@ -16,7 +18,7 @@ win32-msvc2010 {
|
|||
|
||||
# Arch specific
|
||||
contains(QT_ARCH, i686)|contains(QT_ARCH, x86)|contains(QT_ARCH, x86_64)|contains(QT_ARCH, windows): {
|
||||
!win32-msvc2010: QMAKE_CXXFLAGS += -msse2
|
||||
!win32-msvc*: QMAKE_CXXFLAGS += -msse2
|
||||
CONFIG += x86
|
||||
}
|
||||
else { # Assume ARM
|
||||
|
|
2
native
2
native
|
@ -1 +1 @@
|
|||
Subproject commit 3caced8524c06cabcf968942a7780d80337de7bf
|
||||
Subproject commit f5e7bd5a9c3e4b39a4eac71b577f06ad54f2bc96
|
Loading…
Add table
Reference in a new issue