2013-12-07 13:14:29 -07:00
|
|
|
set(SRCS BreakPoints.cpp
|
|
|
|
CDUtils.cpp
|
|
|
|
ColorUtil.cpp
|
2014-02-22 23:33:03 -07:00
|
|
|
ConsoleListener.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
FileSearch.cpp
|
|
|
|
FileUtil.cpp
|
|
|
|
Hash.cpp
|
|
|
|
IniFile.cpp
|
|
|
|
LogManager.cpp
|
|
|
|
MathUtil.cpp
|
|
|
|
MemArena.cpp
|
|
|
|
MemoryUtil.cpp
|
|
|
|
Misc.cpp
|
|
|
|
MsgHandler.cpp
|
|
|
|
NandPaths.cpp
|
2014-03-06 11:09:12 -07:00
|
|
|
Network.cpp
|
2013-12-07 13:14:29 -07: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)
|
2010-11-01 09:47:02 -06:00
|
|
|
|
2014-03-02 04:21:50 -07:00
|
|
|
if(_M_ARM_32) #ARMv7
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
ArmCPUDetect.cpp
|
|
|
|
ArmEmitter.cpp)
|
2013-02-26 12:49:00 -07:00
|
|
|
else()
|
2014-03-02 04:21:50 -07:00
|
|
|
if(_M_X86) #X86
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
x64FPURoundMode.cpp)
|
2013-02-26 12:49:00 -07:00
|
|
|
endif()
|
2013-12-07 13:14:29 -07:00
|
|
|
set(SRCS ${SRCS} x64CPUDetect.cpp)
|
2013-02-26 12:49:00 -07:00
|
|
|
endif()
|
|
|
|
if(_M_GENERIC) #Generic
|
|
|
|
set(SRCS ${SRCS}
|
2013-12-07 13:14:29 -07:00
|
|
|
GenericFPURoundMode.cpp)
|
2013-02-26 12:49:00 -07:00
|
|
|
endif()
|
2010-11-01 09:47:02 -06:00
|
|
|
if(WIN32)
|
2013-12-07 13:14:29 -07:00
|
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
2010-11-01 09:47:02 -06:00
|
|
|
endif(WIN32)
|
|
|
|
|
2013-12-07 13:14:29 -07:00
|
|
|
enable_precompiled_headers(stdafx.h stdafx.cpp SRCS)
|
2011-01-09 09:36:19 -07:00
|
|
|
|
2013-10-16 22:06:34 -06:00
|
|
|
add_dolphin_library(common "${SRCS}" "${CMAKE_THREAD_LIBS_INIT}")
|