mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
5e4665301b
As part of that, change SafeLoadToEAX to SafeLoadToReg, and have JitIL use that, which should fix fastmem on JitIL. This should also fix a potential stack corruption issue with x86.
56 lines
1.1 KiB
CMake
56 lines
1.1 KiB
CMake
set(SRCS Src/BreakPoints.cpp
|
|
Src/CDUtils.cpp
|
|
Src/ColorUtil.cpp
|
|
Src/ConsoleListener.cpp
|
|
Src/FileSearch.cpp
|
|
Src/FileUtil.cpp
|
|
Src/Hash.cpp
|
|
Src/IniFile.cpp
|
|
Src/LogManager.cpp
|
|
Src/MathUtil.cpp
|
|
Src/MemArena.cpp
|
|
Src/MemoryUtil.cpp
|
|
Src/Misc.cpp
|
|
Src/MsgHandler.cpp
|
|
Src/NandPaths.cpp
|
|
Src/SettingsHandler.cpp
|
|
Src/SDCardUtil.cpp
|
|
Src/StringUtil.cpp
|
|
Src/SymbolDB.cpp
|
|
Src/SysConf.cpp
|
|
Src/Thread.cpp
|
|
Src/Timer.cpp
|
|
Src/Version.cpp
|
|
Src/x64ABI.cpp
|
|
Src/x64Analyzer.cpp
|
|
Src/x64Emitter.cpp
|
|
Src/Crypto/aes_cbc.cpp
|
|
Src/Crypto/aes_core.cpp
|
|
Src/Crypto/bn.cpp
|
|
Src/Crypto/ec.cpp)
|
|
|
|
if(_M_ARM) #ARM
|
|
set(SRCS ${SRCS}
|
|
Src/ArmCPUDetect.cpp
|
|
Src/ArmEmitter.cpp)
|
|
else()
|
|
if(NOT _M_GENERIC) #X86
|
|
set(SRCS ${SRCS}
|
|
Src/x64FPURoundMode.cpp
|
|
)
|
|
endif()
|
|
set(SRCS ${SRCS} Src/x64CPUDetect.cpp)
|
|
endif()
|
|
if(_M_GENERIC) #Generic
|
|
set(SRCS ${SRCS}
|
|
Src/GenericFPURoundMode.cpp)
|
|
endif()
|
|
if(WIN32)
|
|
set(SRCS ${SRCS} Src/ExtendedTrace.cpp)
|
|
endif(WIN32)
|
|
|
|
enable_precompiled_headers(Src/stdafx.h Src/stdafx.cpp SRCS)
|
|
|
|
add_library(common STATIC ${SRCS})
|
|
target_link_libraries(common ${CMAKE_THREAD_LIBS_INIT})
|