2014-06-05 17:29:54 -06:00
|
|
|
set(SRCS BreakPoints.cpp
|
|
|
|
CDUtils.cpp
|
|
|
|
ColorUtil.cpp
|
|
|
|
FileSearch.cpp
|
|
|
|
FileUtil.cpp
|
2014-07-17 19:33:51 -06:00
|
|
|
GekkoDisassembler.cpp
|
2014-06-05 17:29:54 -06:00
|
|
|
Hash.cpp
|
|
|
|
IniFile.cpp
|
2014-10-31 13:12:54 -06:00
|
|
|
JitRegister.cpp
|
2014-06-05 17:29:54 -06:00
|
|
|
MathUtil.cpp
|
|
|
|
MemArena.cpp
|
|
|
|
MemoryUtil.cpp
|
|
|
|
Misc.cpp
|
|
|
|
MsgHandler.cpp
|
|
|
|
NandPaths.cpp
|
|
|
|
Network.cpp
|
|
|
|
PcapFile.cpp
|
2014-10-17 18:50:02 -06:00
|
|
|
PerformanceCounter.cpp
|
2014-11-19 11:57:12 -07:00
|
|
|
Profiler.cpp
|
2014-06-05 17:29:54 -06: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 09:47:02 -06:00
|
|
|
|
2014-06-05 19:33:35 -06: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-22 19:02:21 -06:00
|
|
|
x64FPURoundMode.cpp
|
|
|
|
x64CPUDetect.cpp)
|
2014-09-08 21:24:23 -06:00
|
|
|
else() # Generic
|
|
|
|
set(SRCS ${SRCS}
|
2014-09-22 19:02:21 -06:00
|
|
|
GenericFPURoundMode.cpp
|
|
|
|
GenericCPUDetect.cpp)
|
2014-06-05 19:33:35 -06:00
|
|
|
endif()
|
2013-02-26 12:49:00 -07:00
|
|
|
endif()
|
2010-11-01 09:47:02 -06:00
|
|
|
if(WIN32)
|
2014-06-05 17:29:54 -06:00
|
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
2010-11-01 09:47:02 -06:00
|
|
|
endif(WIN32)
|
|
|
|
|
2014-08-02 00:23:52 -06:00
|
|
|
set(LIBS "${CMAKE_THREAD_LIBS_INIT}")
|
2015-01-03 05:17:57 -07:00
|
|
|
if(NOT APPLE AND NOT ANDROID)
|
2014-08-02 00:23:52 -06:00
|
|
|
set(LIBS ${LIBS} rt)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_dolphin_library(common "${SRCS}" "${LIBS}")
|