ppsspp/Qt/Core.pro
2013-11-24 13:24:16 +10:00

90 lines
2.1 KiB
Prolog
Executable File

QT += opengl
QT -= gui
TARGET = Core
TEMPLATE = lib
CONFIG += staticlib
include(Settings.pri)
version.target = $$P/git-version.cpp
!contains(MEEGO_EDITION,harmattan):contains(QMAKE_HOST.os, "Windows") { version.commands = $$P/Windows/git-version-gen.cmd }
else { version.commands = $$P/Qt/git-version-gen.sh $$P }
version.depends = $$P/.git
QMAKE_EXTRA_TARGETS += version
PRE_TARGETDEPS += $$P/git-version.cpp
SOURCES += $$P/git-version.cpp
INCLUDEPATH += $$P/native $$P/Core/MIPS $$P/ $$P/ext/xbrz
arm {
SOURCES += $$P/Core/MIPS/ARM/*.cpp \ #CoreARM
$$P/ext/disarm.cpp
HEADERS += $$P/Core/MIPS/ARM/*.h
}
x86 {
SOURCES += $$P/Core/MIPS/x86/*.cpp
HEADERS += $$P/Core/MIPS/x86/*.h
}
win32 {
SOURCES += $$P/Windows/OpenGLBase.cpp
HEADERS += $$P/Windows/OpenGLBase.h
SOURCES += $$P/GPU/Directx9/helper/*.cpp
HEADERS += $$P/GPU/Directx9/helper/*.h
SOURCES += $$P/GPU/Directx9/*.cpp
HEADERS += $$P/GPU/Directx9/*.h
INCLUDEPATH += $$P/dx9sdk/Include
}
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 \
$$P/GPU/GLES/*.cpp \
$$P/GPU/Software/*.cpp \
$$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
!x86:!symbian {
SOURCES += $$P/GPU/Common/TextureDecoderNEON.cpp
}
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 \
$$P/GPU/Software/*.h \
$$P/GPU/Common/*.h \
$$P/GPU/*.h \
$$P/ext/libkirk/*.h \
$$P/ext/xbrz/*.h