2014-06-05 23:29:54 +00:00
|
|
|
set(SRCS BreakPoints.cpp
|
|
|
|
CDUtils.cpp
|
|
|
|
ColorUtil.cpp
|
2015-03-09 17:37:02 +00:00
|
|
|
ENetUtil.cpp
|
2014-06-05 23:29:54 +00:00
|
|
|
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/LogManager.cpp)
|
|
|
|
|
2015-10-03 13:10:43 +00:00
|
|
|
if(ANDROID)
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Logging/ConsoleListenerDroid.cpp)
|
|
|
|
else()
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Logging/ConsoleListenerNix.cpp)
|
|
|
|
endif()
|
|
|
|
|
2016-02-05 16:51:56 +00:00
|
|
|
list(APPEND LIBS enet)
|
2015-06-08 03:44:13 +00:00
|
|
|
if(_M_ARM_64)
|
2014-06-06 01:33:35 +00:00
|
|
|
set(SRCS ${SRCS}
|
2015-06-08 03:44:13 +00:00
|
|
|
Arm64Emitter.cpp
|
|
|
|
ArmCPUDetect.cpp
|
|
|
|
GenericFPURoundMode.cpp)
|
2014-06-06 01:33:35 +00:00
|
|
|
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
|
|
|
|
2016-02-05 16:51:56 +00:00
|
|
|
list(APPEND LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
|
2014-08-02 06:23:52 +00:00
|
|
|
|
2015-09-18 16:40:00 +00:00
|
|
|
# OpenGL Interface
|
2016-02-05 16:51:56 +00:00
|
|
|
set(SRCS ${SRCS}
|
2015-09-18 16:40:00 +00:00
|
|
|
GL/GLUtil.cpp
|
|
|
|
GL/GLExtensions/GLExtensions.cpp
|
|
|
|
GL/GLInterface/GLInterface.cpp)
|
|
|
|
|
|
|
|
if(USE_EGL)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/EGL.cpp)
|
|
|
|
if(ANDROID)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/EGLAndroid.cpp)
|
|
|
|
elseif(USE_X11)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/EGLX11.cpp)
|
|
|
|
endif()
|
|
|
|
set(LIBS ${LIBS} EGL)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/WGL.cpp)
|
|
|
|
elseif(APPLE)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/AGL.cpp)
|
|
|
|
elseif(USE_X11)
|
|
|
|
if (NOT USE_EGL)
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/GLX.cpp)
|
|
|
|
# GLX has a hard dependency on libGL.
|
|
|
|
# Make sure to link to it if using GLX.
|
|
|
|
set(LIBS ${LIBS} ${OPENGL_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
set(SRCS ${SRCS} GL/GLInterface/X11_Util.cpp)
|
|
|
|
set(LIBS ${LIBS} ${XRANDR_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
|
|
|
set(LIBS ${LIBS} dl)
|
|
|
|
endif()
|
|
|
|
|
2014-08-02 06:23:52 +00:00
|
|
|
add_dolphin_library(common "${SRCS}" "${LIBS}")
|
2015-02-17 06:53:50 +00:00
|
|
|
add_executable(traversal_server TraversalServer.cpp)
|