dolphin/Source/Core/VideoCommon/CMakeLists.txt

98 lines
1.9 KiB
CMake
Raw Normal View History

add_library(videocommon
AbstractFramebuffer.cpp
AbstractStagingTexture.cpp
AbstractTexture.cpp
AsyncRequests.cpp
AsyncShaderCompiler.cpp
BoundingBox.cpp
BPFunctions.cpp
BPMemory.cpp
BPStructs.cpp
CPMemory.cpp
CommandProcessor.cpp
DriverDetails.cpp
Fifo.cpp
FPSCounter.cpp
FramebufferManager.cpp
FramebufferShaderGen.cpp
GeometryShaderGen.cpp
GeometryShaderManager.cpp
HiresTextures.cpp
HiresTextures_DDSLoader.cpp
ImageWrite.cpp
IndexGenerator.cpp
LightingShaderGen.cpp
2019-03-17 00:09:06 +00:00
NetPlayChatUI.cpp
2019-04-02 21:13:42 +00:00
NetPlayGolfUI.cpp
OnScreenDisplay.cpp
OpcodeDecoding.cpp
PerfQueryBase.cpp
PixelEngine.cpp
PixelShaderGen.cpp
PixelShaderManager.cpp
PostProcessing.cpp
RenderBase.cpp
RenderState.cpp
2018-02-24 15:15:35 +00:00
ShaderCache.cpp
ShaderGenCommon.cpp
Statistics.cpp
2017-07-20 05:25:24 +00:00
UberShaderCommon.cpp
UberShaderPixel.cpp
UberShaderVertex.cpp
TextureCacheBase.cpp
TextureConfig.cpp
TextureConversionShader.cpp
TextureConverterShaderGen.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
)
target_link_libraries(videocommon
PUBLIC
core
PRIVATE
png
xxhash
2018-10-09 14:34:26 +00:00
imgui
)
2013-02-26 19:49:00 +00:00
if(_M_X86)
target_sources(videocommon PRIVATE
TextureDecoder_x64.cpp
VertexLoaderX64.cpp
)
elseif(_M_ARM_64)
target_sources(videocommon PRIVATE
VertexLoaderARM64.cpp
TextureDecoder_Generic.cpp
)
2013-02-26 19:49:00 +00:00
else()
target_sources(videocommon PRIVATE
TextureDecoder_Generic.cpp
)
endif()
if(FFmpeg_FOUND)
target_sources(videocommon PRIVATE AVIDump.cpp)
target_link_libraries(videocommon PRIVATE
FFmpeg::avcodec
FFmpeg::avformat
FFmpeg::avutil
FFmpeg::swscale
)
endif()