2013-12-07 20:14:29 +00:00
|
|
|
set(SRCS BPFunctions.cpp
|
|
|
|
BPMemory.cpp
|
|
|
|
BPStructs.cpp
|
|
|
|
CPMemory.cpp
|
|
|
|
CommandProcessor.cpp
|
|
|
|
Debugger.cpp
|
|
|
|
DriverDetails.cpp
|
|
|
|
Fifo.cpp
|
|
|
|
FPSCounter.cpp
|
|
|
|
FramebufferManagerBase.cpp
|
|
|
|
HiresTextures.cpp
|
|
|
|
ImageWrite.cpp
|
|
|
|
IndexGenerator.cpp
|
|
|
|
MainBase.cpp
|
|
|
|
OnScreenDisplay.cpp
|
|
|
|
OpcodeDecoding.cpp
|
|
|
|
PerfQueryBase.cpp
|
|
|
|
PixelEngine.cpp
|
|
|
|
PixelShaderGen.cpp
|
|
|
|
PixelShaderManager.cpp
|
|
|
|
RenderBase.cpp
|
|
|
|
Statistics.cpp
|
|
|
|
TextureCacheBase.cpp
|
|
|
|
TextureConversionShader.cpp
|
|
|
|
VertexLoader.cpp
|
|
|
|
VertexLoaderManager.cpp
|
|
|
|
VertexLoader_Color.cpp
|
|
|
|
VertexLoader_Normal.cpp
|
|
|
|
VertexLoader_Position.cpp
|
|
|
|
VertexLoader_TextCoord.cpp
|
|
|
|
VertexManagerBase.cpp
|
|
|
|
VertexShaderGen.cpp
|
|
|
|
VertexShaderManager.cpp
|
|
|
|
VideoBackendBase.cpp
|
|
|
|
VideoConfig.cpp
|
|
|
|
VideoState.cpp
|
|
|
|
XFMemory.cpp
|
|
|
|
XFStructs.cpp
|
|
|
|
memcpy_amd.cpp)
|
2013-11-15 01:09:38 +00:00
|
|
|
set(LIBS core png)
|
2013-02-26 19:49:00 +00:00
|
|
|
|
|
|
|
if(NOT _M_GENERIC)
|
2013-12-07 20:14:29 +00:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_x64.cpp
|
|
|
|
DLCache_x64.cpp)
|
2013-02-26 19:49:00 +00:00
|
|
|
else()
|
2013-12-07 20:14:29 +00:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_Generic.cpp
|
|
|
|
DLCache_Generic.cpp)
|
2013-02-26 19:49:00 +00:00
|
|
|
endif()
|
2011-12-05 04:26:28 +00:00
|
|
|
if(NOT ${CL} STREQUAL CL-NOTFOUND)
|
|
|
|
list(APPEND LIBS ${CL})
|
|
|
|
endif()
|
|
|
|
|
2010-12-19 19:43:18 +00:00
|
|
|
if(wxWidgets_FOUND AND WIN32)
|
2013-12-07 20:14:29 +00:00
|
|
|
set(SRCS ${SRCS} EmuWindow.cpp)
|
2010-12-19 19:43:18 +00:00
|
|
|
endif()
|
|
|
|
|
2010-12-10 02:00:05 +00:00
|
|
|
if(LIBAV_FOUND OR WIN32)
|
2013-12-07 20:14:29 +00:00
|
|
|
set(SRCS ${SRCS} AVIDump.cpp)
|
2010-11-14 21:14:26 +00:00
|
|
|
endif()
|
|
|
|
|
2013-10-17 04:06:34 +00:00
|
|
|
add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
|
2011-03-31 20:41:59 +00:00
|
|
|
|
2010-11-17 01:03:39 +00:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-12-10 02:00:05 +00:00
|
|
|
if(LIBAV_FOUND)
|
2011-03-31 20:41:59 +00:00
|
|
|
target_link_libraries(videocommon ${LIBS} ${LIBAV_LIBRARIES})
|
2010-11-14 21:14:26 +00:00
|
|
|
add_definitions(-D__STDC_CONSTANT_MACROS)
|
|
|
|
endif()
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|