2012-12-17 01:06:14 +10:00
|
|
|
QT += opengl
|
|
|
|
|
QT -= gui
|
|
|
|
|
TARGET = Core
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
|
2012-12-23 17:46:44 +10:00
|
|
|
include(Settings.pri)
|
2012-12-17 01:06:14 +10:00
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
INCLUDEPATH += $$P/native $$P/Core/MIPS $$P/ $$P/ext/xbrz
|
2012-12-17 01:06:14 +10:00
|
|
|
|
2012-12-23 17:46:44 +10:00
|
|
|
arm {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Core/MIPS/ARM/*.cpp \ #CoreARM
|
|
|
|
|
$$P/ext/disarm.cpp
|
|
|
|
|
HEADERS += $$P/Core/MIPS/ARM/*.h
|
2012-12-17 01:06:14 +10:00
|
|
|
}
|
2012-12-23 17:46:44 +10:00
|
|
|
x86 {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Core/MIPS/x86/*.cpp
|
|
|
|
|
HEADERS += $$P/Core/MIPS/x86/*.h
|
2012-12-23 17:46:44 +10:00
|
|
|
}
|
|
|
|
|
|
2013-02-20 00:34:03 +10:00
|
|
|
win32 {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Windows/OpenGLBase.cpp
|
|
|
|
|
HEADERS += $$P/Windows/OpenGLBase.h
|
2013-10-20 05:34:33 +10:00
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/GPU/Directx9/helper/*.cpp
|
|
|
|
|
HEADERS += $$P/GPU/Directx9/helper/*.h
|
2013-11-03 13:54:04 +10:00
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/GPU/Directx9/*.cpp
|
|
|
|
|
HEADERS += $$P/GPU/Directx9/*.h
|
|
|
|
|
INCLUDEPATH += $$P/dx9sdk/Include
|
2013-02-20 00:34:03 +10:00
|
|
|
}
|
|
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Core/*.cpp \ # Core
|
|
|
|
|
$$P/Core/Debugger/*.cpp \
|
|
|
|
|
$$P/Core/Dialog/*.cpp \
|
|
|
|
|
$$P/Core/ELF/*.cpp \
|
|
|
|
|
$$P/Core/FileSystems/*.cpp \
|
|
|
|
|
$$P/Core/Font/*.cpp \
|
|
|
|
|
$$P/Core/HLE/*.cpp \
|
|
|
|
|
$$P/Core/HW/*.cpp \
|
|
|
|
|
$$P/Core/MIPS/*.cpp \
|
|
|
|
|
$$P/Core/MIPS/JitCommon/*.cpp \
|
|
|
|
|
$$P/Core/Util/*.cpp \
|
|
|
|
|
$$P/GPU/GeDisasm.cpp \ # GPU
|
|
|
|
|
$$P/GPU/GPUCommon.cpp \
|
|
|
|
|
$$P/GPU/GPUState.cpp \
|
|
|
|
|
$$P/GPU/Math3D.cpp \
|
|
|
|
|
$$P/GPU/Null/NullGpu.cpp \
|
2013-11-25 03:24:58 +10:00
|
|
|
$$P/GPU/GLES/FragmentShaderGenerator.cpp \
|
|
|
|
|
$$P/GPU/GLES/Framebuffer.cpp \
|
|
|
|
|
$$P/GPU/GLES/GLES_GPU.cpp \
|
|
|
|
|
$$P/GPU/GLES/ShaderManager.cpp \
|
|
|
|
|
$$P/GPU/GLES/SoftwareTransform.cpp \
|
|
|
|
|
$$P/GPU/GLES/Spline.cpp \
|
|
|
|
|
$$P/GPU/GLES/StateMapping.cpp \
|
|
|
|
|
$$P/GPU/GLES/TextureCache.cpp \
|
|
|
|
|
$$P/GPU/GLES/TextureScaler.cpp \
|
|
|
|
|
$$P/GPU/GLES/TransformPipeline.cpp \
|
|
|
|
|
$$P/GPU/GLES/VertexDecoder.cpp \
|
|
|
|
|
$$P/GPU/GLES/VertexShaderGenerator.cpp \
|
2013-11-24 13:23:23 +10:00
|
|
|
$$P/GPU/Software/*.cpp \
|
2013-11-22 04:07:18 +10:00
|
|
|
$$P/GPU/Common/IndexGenerator.cpp \
|
|
|
|
|
$$P/GPU/Common/TextureDecoder.cpp \
|
|
|
|
|
$$P/GPU/Common/VertexDecoderCommon.cpp \
|
|
|
|
|
$$P/GPU/Common/PostShader.cpp \
|
|
|
|
|
$$P/ext/libkirk/*.c \ # Kirk
|
|
|
|
|
$$P/ext/xxhash.c \ # xxHash
|
|
|
|
|
$$P/ext/xbrz/*.cpp # XBRZ
|
2012-12-23 17:46:44 +10:00
|
|
|
|
2013-11-25 03:24:58 +10:00
|
|
|
!x86:!symbian: SOURCES += $$P/GPU/Common/TextureDecoderNEON.cpp
|
|
|
|
|
|
|
|
|
|
arm: SOURCES += $$P/GPU/GLES/VertexDecoderArm.cpp
|
|
|
|
|
else:SOURCES += $$P/GPU/GLES/VertexDecoderX86.cpp
|
2013-11-03 13:54:04 +10:00
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
HEADERS += $$P/Core/*.h \
|
|
|
|
|
$$P/Core/Debugger/*.h \
|
|
|
|
|
$$P/Core/Dialog/*.h \
|
|
|
|
|
$$P/Core/ELF/*.h \
|
|
|
|
|
$$P/Core/FileSystems/*.h \
|
|
|
|
|
$$P/Core/Font/*.h \
|
|
|
|
|
$$P/Core/HLE/*.h \
|
|
|
|
|
$$P/Core/HW/*.h \
|
|
|
|
|
$$P/Core/MIPS/*.h \
|
|
|
|
|
$$P/Core/MIPS/JitCommon/*.h \
|
|
|
|
|
$$P/Core/Util/*.h \
|
|
|
|
|
$$P/GPU/GLES/*.h \
|
2013-11-24 13:23:23 +10:00
|
|
|
$$P/GPU/Software/*.h \
|
2013-11-22 04:07:18 +10:00
|
|
|
$$P/GPU/Common/*.h \
|
|
|
|
|
$$P/GPU/*.h \
|
|
|
|
|
$$P/ext/libkirk/*.h \
|
|
|
|
|
$$P/ext/xbrz/*.h
|
2013-02-01 02:25:11 +10:00
|
|
|
|
2013-12-06 14:00:17 +10:00
|
|
|
win32: INCLUDEPATH += $$P/ffmpeg/WindowsInclude
|
|
|
|
|
|