2012-12-16 15:06:14 +00:00
|
|
|
QT += opengl
|
|
|
|
QT -= gui
|
|
|
|
TARGET = Core
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
2013-03-02 20:31:11 +00:00
|
|
|
version.target = ../git-version.cpp
|
2013-04-28 06:14:20 +00:00
|
|
|
!contains(MEEGO_EDITION,harmattan):contains(QMAKE_HOST.os, "Windows") { version.commands = $$PWD/../Windows/git-version-gen.cmd }
|
2013-03-04 06:53:34 +00:00
|
|
|
else { version.commands = $$PWD/git-version-gen.sh }
|
2013-03-02 20:03:06 +00:00
|
|
|
version.depends = ../.git
|
|
|
|
|
|
|
|
QMAKE_EXTRA_TARGETS += version
|
2013-03-02 20:31:11 +00:00
|
|
|
PRE_TARGETDEPS += ../git-version.cpp
|
|
|
|
SOURCES += ../git-version.cpp
|
2013-03-02 20:03:06 +00:00
|
|
|
|
2012-12-23 07:46:44 +00:00
|
|
|
include(Settings.pri)
|
2012-12-16 15:06:14 +00:00
|
|
|
|
2013-04-30 18:30:59 +00:00
|
|
|
INCLUDEPATH += ../native ../Core/MIPS ../ ../ext/xbrz
|
2012-12-16 15:06:14 +00:00
|
|
|
|
2012-12-23 07:46:44 +00:00
|
|
|
arm {
|
2013-01-31 16:25:11 +00:00
|
|
|
SOURCES += ../Core/MIPS/ARM/*.cpp \ #CoreARM
|
2013-01-13 10:52:41 +00:00
|
|
|
../ext/disarm.cpp
|
2013-01-31 16:25:11 +00:00
|
|
|
HEADERS += ../Core/MIPS/ARM/*.h
|
2012-12-23 07:46:44 +00:00
|
|
|
}
|
|
|
|
x86 {
|
2013-01-31 16:25:11 +00:00
|
|
|
SOURCES += ../Core/MIPS/x86/*.cpp
|
|
|
|
HEADERS += ../Core/MIPS/x86/*.h
|
2012-12-16 15:06:14 +00:00
|
|
|
}
|
2012-12-23 07:46:44 +00:00
|
|
|
|
2013-02-19 14:34:03 +00:00
|
|
|
win32 {
|
|
|
|
SOURCES += ../Windows/OpenGLBase.cpp
|
|
|
|
HEADERS += ../Windows/OpenGLBase.h
|
|
|
|
}
|
|
|
|
|
2013-07-17 01:14:41 +00:00
|
|
|
SOURCES += ../Core/*.cpp \ # Core
|
2013-01-31 16:25:11 +00:00
|
|
|
../Core/Debugger/*.cpp \
|
|
|
|
../Core/Dialog/*.cpp \
|
|
|
|
../Core/ELF/*.cpp \
|
|
|
|
../Core/FileSystems/*.cpp \
|
2013-02-28 16:13:01 +00:00
|
|
|
../Core/Font/*.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../Core/HLE/*.cpp \
|
|
|
|
../Core/HW/*.cpp \
|
|
|
|
../Core/MIPS/*.cpp \
|
|
|
|
../Core/MIPS/JitCommon/*.cpp \
|
|
|
|
../Core/Util/*.cpp \
|
|
|
|
../GPU/GeDisasm.cpp \ # GPU
|
2012-12-24 23:13:50 +00:00
|
|
|
../GPU/GPUCommon.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../GPU/GPUState.cpp \
|
|
|
|
../GPU/Math3D.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../GPU/Null/NullGpu.cpp \
|
|
|
|
../GPU/GLES/*.cpp \
|
2013-04-30 18:30:59 +00:00
|
|
|
../ext/libkirk/*.c \ # Kirk
|
2013-08-17 05:58:38 +00:00
|
|
|
../ext/xxhash.c \ # xxHash
|
2013-04-30 18:30:59 +00:00
|
|
|
../ext/xbrz/*.cpp # XBRZ
|
2012-12-23 07:46:44 +00:00
|
|
|
|
2013-08-18 08:07:15 +00:00
|
|
|
# Software GPU
|
|
|
|
!symbian {
|
|
|
|
SOURCES += ../GPU/Software/*.cpp
|
|
|
|
HEADERS += ../GPU/Software/*.h
|
|
|
|
}
|
|
|
|
|
2013-07-17 01:14:41 +00:00
|
|
|
HEADERS += ../Core/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../Core/Debugger/*.h \
|
|
|
|
../Core/Dialog/*.h \
|
|
|
|
../Core/ELF/*.h \
|
|
|
|
../Core/FileSystems/*.h \
|
2013-02-28 16:13:01 +00:00
|
|
|
../Core/Font/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../Core/HLE/*.h \
|
|
|
|
../Core/HW/*.h \
|
|
|
|
../Core/MIPS/*.h \
|
|
|
|
../Core/MIPS/JitCommon/*.h \
|
|
|
|
../Core/Util/*.h \
|
|
|
|
../GPU/GLES/*.h \
|
|
|
|
../GPU/*.h \
|
2013-04-30 18:30:59 +00:00
|
|
|
../ext/libkirk/*.h \
|
|
|
|
../ext/xbrz/*.h
|
2013-01-31 16:25:11 +00:00
|
|
|
|