2014-06-05 23:29:54 +00:00
|
|
|
set(SRCS BreakPoints.cpp
|
|
|
|
CDUtils.cpp
|
|
|
|
ColorUtil.cpp
|
|
|
|
FileSearch.cpp
|
|
|
|
FileUtil.cpp
|
2014-07-18 01:33:51 +00:00
|
|
|
GekkoDisassembler.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
Hash.cpp
|
|
|
|
IniFile.cpp
|
2014-10-31 19:12:54 +00:00
|
|
|
JitRegister.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
MathUtil.cpp
|
|
|
|
MemArena.cpp
|
|
|
|
MemoryUtil.cpp
|
|
|
|
Misc.cpp
|
|
|
|
MsgHandler.cpp
|
|
|
|
NandPaths.cpp
|
|
|
|
Network.cpp
|
|
|
|
PcapFile.cpp
|
2014-10-18 00:50:02 +00:00
|
|
|
PerformanceCounter.cpp
|
2014-11-19 18:57:12 +00:00
|
|
|
Profiler.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
SettingsHandler.cpp
|
|
|
|
SDCardUtil.cpp
|
|
|
|
StringUtil.cpp
|
|
|
|
SymbolDB.cpp
|
|
|
|
SysConf.cpp
|
|
|
|
Thread.cpp
|
|
|
|
Timer.cpp
|
2015-02-02 10:08:58 +00:00
|
|
|
TraversalClient.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
Version.cpp
|
|
|
|
x64ABI.cpp
|
|
|
|
x64Analyzer.cpp
|
|
|
|
x64Emitter.cpp
|
|
|
|
Crypto/bn.cpp
|
|
|
|
Crypto/ec.cpp
|
|
|
|
Logging/ConsoleListener.cpp
|
|
|
|
Logging/LogManager.cpp)
|
|
|
|
|
2015-02-02 10:08:58 +00:00
|
|
|
set(LIBS enet)
|
2014-06-06 01:33:35 +00:00
|
|
|
if(_M_ARM)
|
|
|
|
if (_M_ARM_32) #ARMv7
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
ArmEmitter.cpp)
|
|
|
|
else() #AArch64
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Arm64Emitter.cpp)
|
|
|
|
endif()
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
ArmCPUDetect.cpp
|
|
|
|
GenericFPURoundMode.cpp)
|
|
|
|
else()
|
|
|
|
if(_M_X86) #X86
|
|
|
|
set(SRCS ${SRCS}
|
2014-09-23 01:02:21 +00:00
|
|
|
x64FPURoundMode.cpp
|
|
|
|
x64CPUDetect.cpp)
|
2014-09-09 03:24:23 +00:00
|
|
|
else() # Generic
|
|
|
|
set(SRCS ${SRCS}
|
2014-09-23 01:02:21 +00:00
|
|
|
GenericFPURoundMode.cpp
|
|
|
|
GenericCPUDetect.cpp)
|
2014-06-06 01:33:35 +00:00
|
|
|
endif()
|
2013-02-26 19:49:00 +00:00
|
|
|
endif()
|
2010-11-01 15:47:02 +00:00
|
|
|
if(WIN32)
|
2014-06-05 23:29:54 +00:00
|
|
|
set(SRCS ${SRCS} ExtendedTrace.cpp)
|
2010-11-01 15:47:02 +00:00
|
|
|
endif(WIN32)
|
|
|
|
|
2015-02-22 19:49:30 +00:00
|
|
|
set(LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
|
2015-01-03 12:17:57 +00:00
|
|
|
if(NOT APPLE AND NOT ANDROID)
|
2014-08-02 06:23:52 +00:00
|
|
|
set(LIBS ${LIBS} rt)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_dolphin_library(common "${SRCS}" "${LIBS}")
|
2015-02-17 06:53:50 +00:00
|
|
|
add_executable(traversal_server TraversalServer.cpp)
|