dolphin/Source/Core/Common/CMakeLists.txt

53 lines
946 B
CMake
Raw Normal View History

2013-12-07 20:14:29 +00:00
set(SRCS BreakPoints.cpp
CDUtils.cpp
ColorUtil.cpp
ConsoleListener.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)
2013-02-26 19:49:00 +00:00
if(_M_ARM) #ARM
set(SRCS ${SRCS}
2013-12-07 20:14:29 +00:00
ArmCPUDetect.cpp
ArmEmitter.cpp)
2013-02-26 19:49:00 +00:00
else()
if(NOT _M_GENERIC) #X86
set(SRCS ${SRCS}
2013-12-07 20:14:29 +00:00
x64FPURoundMode.cpp
2013-02-26 19:49:00 +00:00
)
endif()
2013-12-07 20:14:29 +00:00
set(SRCS ${SRCS} x64CPUDetect.cpp)
2013-02-26 19:49:00 +00:00
endif()
if(_M_GENERIC) #Generic
set(SRCS ${SRCS}
2013-12-07 20:14:29 +00:00
GenericFPURoundMode.cpp)
2013-02-26 19:49:00 +00:00
endif()
if(WIN32)
2013-12-07 20:14:29 +00:00
set(SRCS ${SRCS} ExtendedTrace.cpp)
endif(WIN32)
2013-12-07 20:14:29 +00:00
enable_precompiled_headers(stdafx.h stdafx.cpp SRCS)
add_dolphin_library(common "${SRCS}" "${CMAKE_THREAD_LIBS_INIT}")