2014-06-05 23:29:54 +00:00
|
|
|
set(SRCS BreakPoints.cpp
|
|
|
|
CDUtils.cpp
|
|
|
|
ColorUtil.cpp
|
|
|
|
FileSearch.cpp
|
|
|
|
FileUtil.cpp
|
2014-07-18 01:33:51 +00:00
|
|
|
GekkoDisassembler.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
Hash.cpp
|
|
|
|
IniFile.cpp
|
2014-10-31 19:12:54 +00:00
|
|
|
JitRegister.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
MathUtil.cpp
|
|
|
|
MemArena.cpp
|
|
|
|
MemoryUtil.cpp
|
|
|
|
Misc.cpp
|
|
|
|
MsgHandler.cpp
|
|
|
|
NandPaths.cpp
|
|
|
|
Network.cpp
|
|
|
|
PcapFile.cpp
|
2014-10-18 00:50:02 +00:00
|
|
|
PerformanceCounter.cpp
|
2014-11-19 18:57:12 +00:00
|
|
|
Profiler.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
SettingsHandler.cpp
|
|
|
|
SDCardUtil.cpp
|
|
|
|
StringUtil.cpp
|
|
|
|
SymbolDB.cpp
|
|
|
|
SysConf.cpp
|
|
|
|
Thread.cpp
|
|
|
|
Timer.cpp
|
|
|
|
Version.cpp
|
|
|
|
x64ABI.cpp
|
|
|
|
x64Analyzer.cpp
|
|
|
|
x64Emitter.cpp
|
|
|
|
Crypto/bn.cpp
|
|
|
|
Crypto/ec.cpp
|
|
|
|
Logging/ConsoleListener.cpp
|
|
|
|
Logging/LogManager.cpp)
|
|
|
|
|
2010-11-01 15:47:02 +00:00
|
|
|
|
2014-06-06 01:33:35 +00:00
|
|
|
if(_M_ARM)
|
|
|
|
if (_M_ARM_32) #ARMv7
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
ArmEmitter.cpp)
|
|
|
|
else() #AArch64
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Arm64Emitter.cpp)
|
|
|
|
endif()
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
ArmCPUDetect.cpp
|
|
|
|
GenericFPURoundMode.cpp)
|
|
|
|
else()
|
|
|
|
if(_M_X86) #X86
|
|
|
|
set(SRCS ${SRCS}
|
2014-09-23 01:02:21 +00:00
|
|
|
x64FPURoundMode.cpp
|
|
|
|
x64CPUDetect.cpp)
|
2014-09-09 03:24:23 +00:00
|
|
|
else() # Generic
|
|
|
|
set(SRCS ${SRCS}
|
2014-09-23 01:02:21 +00:00
|
|
|
GenericFPURoundMode.cpp
|
|
|
|
GenericCPUDetect.cpp)
|
2014-06-06 01:33:35 +00:00
|
|
|
endif()
|
2013-02-26 19:49:00 +00:00
|
|
|
endif()
|
2010-11-01 15:47:02 +00:00
|
|
|
if(WIN32)
|
2014-06-05 23:29:54 +00:00
|
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
2010-11-01 15:47:02 +00:00
|
|
|
endif(WIN32)
|
|
|
|
|
2014-08-02 06:23:52 +00:00
|
|
|
set(LIBS "${CMAKE_THREAD_LIBS_INIT}")
|
|
|
|
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND (NOT ANDROID))
|
|
|
|
set(LIBS ${LIBS} rt)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_dolphin_library(common "${SRCS}" "${LIBS}")
|