2015-01-31 03:38:23 -07:00
|
|
|
set(SRCS AsyncRequests.cpp
|
|
|
|
BoundingBox.cpp
|
2014-09-16 13:18:15 -06:00
|
|
|
BPFunctions.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
BPMemory.cpp
|
|
|
|
BPStructs.cpp
|
|
|
|
CPMemory.cpp
|
|
|
|
CommandProcessor.cpp
|
|
|
|
Debugger.cpp
|
|
|
|
DriverDetails.cpp
|
|
|
|
Fifo.cpp
|
|
|
|
FPSCounter.cpp
|
|
|
|
FramebufferManagerBase.cpp
|
2014-10-30 08:13:31 -06:00
|
|
|
GeometryShaderGen.cpp
|
2014-12-14 13:23:13 -07:00
|
|
|
GeometryShaderManager.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
HiresTextures.cpp
|
|
|
|
ImageWrite.cpp
|
|
|
|
IndexGenerator.cpp
|
|
|
|
MainBase.cpp
|
|
|
|
OnScreenDisplay.cpp
|
|
|
|
OpcodeDecoding.cpp
|
|
|
|
PerfQueryBase.cpp
|
|
|
|
PixelEngine.cpp
|
|
|
|
PixelShaderGen.cpp
|
|
|
|
PixelShaderManager.cpp
|
2014-07-29 10:47:56 -06:00
|
|
|
PostProcessing.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
RenderBase.cpp
|
|
|
|
Statistics.cpp
|
|
|
|
TextureCacheBase.cpp
|
|
|
|
TextureConversionShader.cpp
|
2014-07-12 08:49:24 -06:00
|
|
|
TextureDecoder_Common.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
VertexLoader.cpp
|
2014-12-12 17:51:14 -07:00
|
|
|
VertexLoaderBase.cpp
|
2013-12-07 13:14:29 -07:00
|
|
|
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
|
2014-10-30 08:13:31 -06:00
|
|
|
XFStructs.cpp)
|
2013-11-14 18:09:38 -07:00
|
|
|
set(LIBS core png)
|
2013-02-26 12:49:00 -07:00
|
|
|
|
2014-06-07 19:24:02 -06:00
|
|
|
if(_M_X86)
|
2015-02-12 17:52:07 -07:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_x64.cpp VertexLoaderX64.cpp)
|
|
|
|
elseif(_M_ARM_64)
|
|
|
|
set(SRCS ${SRCS} VertexLoaderARM64.cpp TextureDecoder_Generic.cpp)
|
2013-02-26 12:49:00 -07:00
|
|
|
else()
|
2015-02-12 17:52:07 -07:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_Generic.cpp)
|
2011-12-04 21:26:28 -07:00
|
|
|
endif()
|
|
|
|
|
2010-12-09 19:00:05 -07:00
|
|
|
if(LIBAV_FOUND OR WIN32)
|
2013-12-07 13:14:29 -07:00
|
|
|
set(SRCS ${SRCS} AVIDump.cpp)
|
2010-11-14 14:14:26 -07:00
|
|
|
endif()
|
|
|
|
|
2013-10-16 22:06:34 -06:00
|
|
|
add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
|
2011-03-31 14:41:59 -06:00
|
|
|
|
2015-01-25 18:35:29 -07:00
|
|
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
|
|
if(LIBAV_FOUND)
|
|
|
|
target_link_libraries(videocommon ${LIBS} ${LIBAV_LIBRARIES})
|
|
|
|
endif()
|
2010-11-16 18:03:39 -07:00
|
|
|
endif()
|