mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
0718937237
This moves the Gekko disassembler to Common where it should be. Having it in the Bochs disassembly Externals is incorrect. Unlike the PowerPC disassembler prior however, this one is updated to have an API that is more fitting for C++. e.g. Not needing to specify a string buffer and size. It does all of this under the hood. This modifies all the DebuggingInterfaces as necessary to handle this.
60 lines
1.3 KiB
CMake
60 lines
1.3 KiB
CMake
set(SRCS BreakPoints.cpp
|
|
CDUtils.cpp
|
|
ColorUtil.cpp
|
|
FileSearch.cpp
|
|
FileUtil.cpp
|
|
GekkoDisassembler.cpp
|
|
Hash.cpp
|
|
IniFile.cpp
|
|
MathUtil.cpp
|
|
MemArena.cpp
|
|
MemoryUtil.cpp
|
|
Misc.cpp
|
|
MsgHandler.cpp
|
|
NandPaths.cpp
|
|
Network.cpp
|
|
PcapFile.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
|
|
Logging/ConsoleListener.cpp
|
|
Logging/LogManager.cpp)
|
|
|
|
|
|
if(_M_ARM_32) #ARMv7
|
|
set(SRCS ${SRCS}
|
|
ArmCPUDetect.cpp
|
|
ArmEmitter.cpp
|
|
GenericFPURoundMode.cpp)
|
|
elseif(_M_X86) #X86
|
|
set(SRCS ${SRCS}
|
|
x64CPUDetect.cpp
|
|
x64FPURoundMode.cpp)
|
|
else() #Generic
|
|
set(SRCS ${SRCS}
|
|
GenericFPURoundMode.cpp
|
|
x64CPUDetect.cpp)
|
|
endif()
|
|
if(WIN32)
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
|
endif(WIN32)
|
|
|
|
set(LIBS "${CMAKE_THREAD_LIBS_INIT}")
|
|
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND (NOT ANDROID))
|
|
set(LIBS ${LIBS} rt)
|
|
endif()
|
|
|
|
enable_precompiled_headers(stdafx.h stdafx.cpp SRCS)
|
|
|
|
add_dolphin_library(common "${SRCS}" "${LIBS}")
|