2012-12-16 15:06:14 +00:00
|
|
|
QT -= gui
|
|
|
|
TARGET = Common
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
2012-12-23 07:46:44 +00:00
|
|
|
include(Settings.pri)
|
|
|
|
|
2013-11-24 03:23:23 +00:00
|
|
|
# CPU
|
2012-12-23 07:46:44 +00:00
|
|
|
arm {
|
2013-11-21 18:07:18 +00:00
|
|
|
SOURCES += $$P/Common/ArmCPUDetect.cpp \
|
|
|
|
$$P/Common/ArmThunk.cpp
|
2012-12-23 07:46:44 +00:00
|
|
|
}
|
2014-11-13 07:10:29 +00:00
|
|
|
else:i86 {
|
2013-11-21 18:07:18 +00:00
|
|
|
SOURCES += $$P/Common/ABI.cpp \
|
|
|
|
$$P/Common/CPUDetect.cpp \
|
|
|
|
$$P/Common/Thunk.cpp \
|
|
|
|
$$P/Common/x64Analyzer.cpp \
|
|
|
|
$$P/Common/x64Emitter.cpp
|
2014-07-24 17:59:51 +00:00
|
|
|
HEADERS += $$P/Common/ABI.h \
|
2013-11-21 18:07:18 +00:00
|
|
|
$$P/Common/Thunk.h \
|
|
|
|
$$P/Common/x64Analyzer.h \
|
|
|
|
$$P/Common/x64Emitter.h
|
2012-12-23 07:46:44 +00:00
|
|
|
}
|
2014-11-18 22:21:16 +00: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-12 14:55:00 +00:00
|
|
|
$$P/Common/CPUDetect.h
|
2013-11-24 03:23:23 +00:00
|
|
|
|
2012-12-23 07:46:44 +00:00
|
|
|
win32 {
|
2013-11-21 18:07:18 +00:00
|
|
|
SOURCES += $$P/Common/stdafx.cpp
|
|
|
|
HEADERS += $$P/Common/stdafx.h
|
2012-12-16 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2014-05-28 17:29:54 +00:00
|
|
|
!symbian {
|
|
|
|
SOURCES += $$P/Common/MemArena.cpp
|
|
|
|
HEADERS += $$P/Common/MemArena.h
|
|
|
|
}
|
|
|
|
|
2013-11-21 18:07:18 +00: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-16 15:06:14 +00:00
|
|
|
|
2013-11-21 18:07:18 +00:00
|
|
|
INCLUDEPATH += $$P/native
|
2013-04-18 15:40:30 +00:00
|
|
|
|