52 lines
923 B
CMake
52 lines
923 B
CMake
set(SRCS BreakPoints.cpp
|
|
CDUtils.cpp
|
|
ColorUtil.cpp
|
|
FileSearch.cpp
|
|
FileUtil.cpp
|
|
Hash.cpp
|
|
IniFile.cpp
|
|
LogManager.cpp
|
|
MathUtil.cpp
|
|
MemArena.cpp
|
|
MemoryUtil.cpp
|
|
Misc.cpp
|
|
MsgHandler.cpp
|
|
NandPaths.cpp
|
|
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)
|
|
|
|
if(_M_ARM) #ARM
|
|
set(SRCS ${SRCS}
|
|
ArmCPUDetect.cpp
|
|
ArmEmitter.cpp)
|
|
else()
|
|
if(NOT _M_GENERIC) #X86
|
|
set(SRCS ${SRCS}
|
|
x64FPURoundMode.cpp
|
|
)
|
|
endif()
|
|
set(SRCS ${SRCS} x64CPUDetect.cpp)
|
|
endif()
|
|
if(_M_GENERIC) #Generic
|
|
set(SRCS ${SRCS}
|
|
GenericFPURoundMode.cpp)
|
|
endif()
|
|
if(WIN32)
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
|
endif(WIN32)
|
|
|
|
enable_precompiled_headers(stdafx.h stdafx.cpp SRCS)
|
|
|
|
add_dolphin_library(common "${SRCS}" "${CMAKE_THREAD_LIBS_INIT}")
|