mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Support other MSVC compilers in Qt. Update native reference.
This commit is contained in:
1 parent
aac079f5ac
commit
3faeeea2f9
4 files changed
+9
-8
No files matched your search
@@ -27,7 +27,6 @@
|
||||
#undef _interlockedbittestandreset
|
||||
#undef _interlockedbittestandset64
|
||||
#undef _interlockedbittestandreset64
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
||||
#ifndef _M_GENERIC
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+7
-5
@@ -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
|
||||
|
||||
+1
-1
Submodule native updated: 3caced8524...f5e7bd5a9c.
Reference in new issue
Block a user