2012-12-17 01:06:14 +10:00
|
|
|
QT -= gui
|
|
|
|
TARGET = Common
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
2012-12-23 17:46:44 +10:00
|
|
|
include(Settings.pri)
|
|
|
|
|
2013-11-24 13:23:23 +10:00
|
|
|
# CPU
|
2012-12-23 17:46:44 +10:00
|
|
|
arm {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Common/ArmCPUDetect.cpp \
|
|
|
|
$$P/Common/ArmThunk.cpp
|
2012-12-23 17:46:44 +10:00
|
|
|
}
|
2014-11-13 17:10:29 +10:00
|
|
|
else:i86 {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Common/ABI.cpp \
|
|
|
|
$$P/Common/CPUDetect.cpp \
|
|
|
|
$$P/Common/Thunk.cpp \
|
|
|
|
$$P/Common/x64Analyzer.cpp \
|
|
|
|
$$P/Common/x64Emitter.cpp
|
2014-07-25 03:59:51 +10:00
|
|
|
HEADERS += $$P/Common/ABI.h \
|
2013-11-22 04:07:18 +10:00
|
|
|
$$P/Common/Thunk.h \
|
|
|
|
$$P/Common/x64Analyzer.h \
|
|
|
|
$$P/Common/x64Emitter.h
|
2012-12-23 17:46:44 +10:00
|
|
|
}
|
2014-11-19 08:21:16 +10:00
|
|
|
else:mips: {
|
|
|
|
SOURCES += $$P/Common/MipsCPUDetect.cpp
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
SOURCES += $$P/Common/FakeCPUDetect.cpp
|
|
|
|
}
|
|
|
|
SOURCES += $$P/Common/ArmEmitter.cpp \
|
|
|
|
$$P/Common/MipsEmitter.cpp
|
|
|
|
HEADERS += $$P/Common/ArmEmitter.h \
|
|
|
|
$$P/Common/MipsEmitter.h \
|
2014-11-13 00:55:00 +10:00
|
|
|
$$P/Common/CPUDetect.h
|
2013-11-24 13:23:23 +10:00
|
|
|
|
2012-12-23 17:46:44 +10:00
|
|
|
win32 {
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Common/stdafx.cpp
|
|
|
|
HEADERS += $$P/Common/stdafx.h
|
2012-12-17 01:06:14 +10:00
|
|
|
}
|
|
|
|
|
2014-05-29 03:29:54 +10:00
|
|
|
!symbian {
|
|
|
|
SOURCES += $$P/Common/MemArena.cpp
|
|
|
|
HEADERS += $$P/Common/MemArena.h
|
|
|
|
}
|
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
SOURCES += $$P/Common/ChunkFile.cpp \
|
|
|
|
$$P/Common/ConsoleListener.cpp \
|
|
|
|
$$P/Common/FileUtil.cpp \
|
|
|
|
$$P/Common/LogManager.cpp \
|
|
|
|
$$P/Common/KeyMap.cpp \
|
|
|
|
$$P/Common/MemoryUtil.cpp \
|
|
|
|
$$P/Common/Misc.cpp \
|
|
|
|
$$P/Common/MsgHandler.cpp \
|
|
|
|
$$P/Common/StringUtils.cpp \
|
|
|
|
$$P/Common/ThreadPools.cpp \
|
|
|
|
$$P/Common/Timer.cpp \
|
|
|
|
$$P/Common/Crypto/*.cpp
|
|
|
|
HEADERS += $$P/Common/ChunkFile.h \
|
|
|
|
$$P/Common/ConsoleListener.h \
|
|
|
|
$$P/Common/FileUtil.h \
|
|
|
|
$$P/Common/LogManager.h \
|
|
|
|
$$P/Common/KeyMap.h \
|
|
|
|
$$P/Common/MemoryUtil.h \
|
|
|
|
$$P/Common/MsgHandler.h \
|
|
|
|
$$P/Common/StringUtils.h \
|
|
|
|
$$P/Common/ThreadPools.h \
|
|
|
|
$$P/Common/Timer.h \
|
|
|
|
$$P/Common/Crypto/*.h
|
2012-12-17 01:06:14 +10:00
|
|
|
|
2013-11-22 04:07:18 +10:00
|
|
|
INCLUDEPATH += $$P/native
|
2013-04-18 17:40:30 +02:00
|
|
|
|