2017-03-01 12:43:43 +00:00
|
|
|
set(SRCS
|
|
|
|
AsyncRequests.cpp
|
|
|
|
BoundingBox.cpp
|
|
|
|
BPFunctions.cpp
|
|
|
|
BPMemory.cpp
|
|
|
|
BPStructs.cpp
|
|
|
|
CPMemory.cpp
|
|
|
|
CommandProcessor.cpp
|
|
|
|
Debugger.cpp
|
|
|
|
DriverDetails.cpp
|
|
|
|
Fifo.cpp
|
|
|
|
FPSCounter.cpp
|
|
|
|
FramebufferManagerBase.cpp
|
|
|
|
GeometryShaderGen.cpp
|
|
|
|
GeometryShaderManager.cpp
|
|
|
|
HiresTextures.cpp
|
2017-04-16 09:30:11 +00:00
|
|
|
HiresTextures_DDSLoader.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
ImageWrite.cpp
|
|
|
|
IndexGenerator.cpp
|
|
|
|
LightingShaderGen.cpp
|
|
|
|
MainBase.cpp
|
|
|
|
OnScreenDisplay.cpp
|
|
|
|
OpcodeDecoding.cpp
|
|
|
|
PerfQueryBase.cpp
|
|
|
|
PixelEngine.cpp
|
|
|
|
PixelShaderGen.cpp
|
|
|
|
PixelShaderManager.cpp
|
|
|
|
PostProcessing.cpp
|
|
|
|
RenderBase.cpp
|
|
|
|
RenderState.cpp
|
|
|
|
Statistics.cpp
|
|
|
|
TextureCacheBase.cpp
|
|
|
|
TextureConversionShader.cpp
|
|
|
|
TextureDecoder_Common.cpp
|
|
|
|
VertexLoader.cpp
|
|
|
|
VertexLoaderBase.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
|
|
|
|
)
|
|
|
|
|
|
|
|
set(LIBS
|
|
|
|
core
|
|
|
|
png
|
|
|
|
)
|
2013-02-26 19:49:00 +00:00
|
|
|
|
2014-06-08 01:24:02 +00:00
|
|
|
if(_M_X86)
|
2017-03-01 12:43:43 +00:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_x64.cpp VertexLoaderX64.cpp)
|
2015-02-13 00:52:07 +00:00
|
|
|
elseif(_M_ARM_64)
|
2017-03-01 12:43:43 +00:00
|
|
|
set(SRCS ${SRCS} VertexLoaderARM64.cpp TextureDecoder_Generic.cpp)
|
2013-02-26 19:49:00 +00:00
|
|
|
else()
|
2017-03-01 12:43:43 +00:00
|
|
|
set(SRCS ${SRCS} TextureDecoder_Generic.cpp)
|
2011-12-05 04:26:28 +00:00
|
|
|
endif()
|
|
|
|
|
2010-12-10 02:00:05 +00:00
|
|
|
if(LIBAV_FOUND OR WIN32)
|
2017-03-01 12:43:43 +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
|
|
|
|
2016-01-02 18:07:08 +00:00
|
|
|
if(LIBAV_FOUND)
|
2017-03-01 12:43:43 +00:00
|
|
|
target_link_libraries(videocommon PRIVATE ${LIBS} ${LIBAV_LIBRARIES})
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|