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