mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-09 18:45:40 +00:00
VideoCommon/CMakeLists: Specify headers in target sources
This commit is contained in:
parent
a41ba68c1e
commit
3d27439d9a
@ -1,64 +1,131 @@
|
|||||||
add_library(videocommon
|
add_library(videocommon
|
||||||
AbstractFramebuffer.cpp
|
AbstractFramebuffer.cpp
|
||||||
|
AbstractFramebuffer.h
|
||||||
|
AbstractShader.h
|
||||||
AbstractStagingTexture.cpp
|
AbstractStagingTexture.cpp
|
||||||
|
AbstractStagingTexture.h
|
||||||
AbstractTexture.cpp
|
AbstractTexture.cpp
|
||||||
|
AbstractTexture.h
|
||||||
AsyncRequests.cpp
|
AsyncRequests.cpp
|
||||||
|
AsyncRequests.h
|
||||||
AsyncShaderCompiler.cpp
|
AsyncShaderCompiler.cpp
|
||||||
|
AsyncShaderCompiler.h
|
||||||
BoundingBox.cpp
|
BoundingBox.cpp
|
||||||
|
BoundingBox.h
|
||||||
BPFunctions.cpp
|
BPFunctions.cpp
|
||||||
|
BPFunctions.h
|
||||||
BPMemory.cpp
|
BPMemory.cpp
|
||||||
|
BPMemory.h
|
||||||
BPStructs.cpp
|
BPStructs.cpp
|
||||||
CPMemory.cpp
|
BPStructs.h
|
||||||
CommandProcessor.cpp
|
CommandProcessor.cpp
|
||||||
|
CommandProcessor.h
|
||||||
|
ConstantManager.h
|
||||||
|
CPMemory.cpp
|
||||||
|
CPMemory.h
|
||||||
DriverDetails.cpp
|
DriverDetails.cpp
|
||||||
|
DriverDetails.h
|
||||||
Fifo.cpp
|
Fifo.cpp
|
||||||
|
Fifo.h
|
||||||
FPSCounter.cpp
|
FPSCounter.cpp
|
||||||
|
FPSCounter.h
|
||||||
FramebufferManager.cpp
|
FramebufferManager.cpp
|
||||||
|
FramebufferManager.h
|
||||||
FramebufferShaderGen.cpp
|
FramebufferShaderGen.cpp
|
||||||
|
FramebufferShaderGen.h
|
||||||
GeometryShaderGen.cpp
|
GeometryShaderGen.cpp
|
||||||
|
GeometryShaderGen.h
|
||||||
GeometryShaderManager.cpp
|
GeometryShaderManager.cpp
|
||||||
|
GeometryShaderManager.h
|
||||||
HiresTextures.cpp
|
HiresTextures.cpp
|
||||||
|
HiresTextures.h
|
||||||
HiresTextures_DDSLoader.cpp
|
HiresTextures_DDSLoader.cpp
|
||||||
ImageWrite.cpp
|
ImageWrite.cpp
|
||||||
|
ImageWrite.h
|
||||||
IndexGenerator.cpp
|
IndexGenerator.cpp
|
||||||
|
IndexGenerator.h
|
||||||
LightingShaderGen.cpp
|
LightingShaderGen.cpp
|
||||||
|
LightingShaderGen.h
|
||||||
|
LookUpTables.h
|
||||||
|
NativeVertexFormat.h
|
||||||
NetPlayChatUI.cpp
|
NetPlayChatUI.cpp
|
||||||
|
NetPlayChatUI.h
|
||||||
NetPlayGolfUI.cpp
|
NetPlayGolfUI.cpp
|
||||||
|
NetPlayGolfUI.h
|
||||||
OnScreenDisplay.cpp
|
OnScreenDisplay.cpp
|
||||||
|
OnScreenDisplay.h
|
||||||
OpcodeDecoding.cpp
|
OpcodeDecoding.cpp
|
||||||
|
OpcodeDecoding.h
|
||||||
PerfQueryBase.cpp
|
PerfQueryBase.cpp
|
||||||
|
PerfQueryBase.h
|
||||||
PixelEngine.cpp
|
PixelEngine.cpp
|
||||||
|
PixelEngine.h
|
||||||
PixelShaderGen.cpp
|
PixelShaderGen.cpp
|
||||||
|
PixelShaderGen.h
|
||||||
PixelShaderManager.cpp
|
PixelShaderManager.cpp
|
||||||
|
PixelShaderManager.h
|
||||||
PostProcessing.cpp
|
PostProcessing.cpp
|
||||||
|
PostProcessing.h
|
||||||
RenderBase.cpp
|
RenderBase.cpp
|
||||||
|
RenderBase.h
|
||||||
RenderState.cpp
|
RenderState.cpp
|
||||||
|
RenderState.h
|
||||||
|
SamplerCommon.h
|
||||||
ShaderCache.cpp
|
ShaderCache.cpp
|
||||||
|
ShaderCache.h
|
||||||
ShaderGenCommon.cpp
|
ShaderGenCommon.cpp
|
||||||
|
ShaderGenCommon.h
|
||||||
Statistics.cpp
|
Statistics.cpp
|
||||||
UberShaderCommon.cpp
|
Statistics.h
|
||||||
UberShaderPixel.cpp
|
|
||||||
UberShaderVertex.cpp
|
|
||||||
TextureCacheBase.cpp
|
TextureCacheBase.cpp
|
||||||
|
TextureCacheBase.h
|
||||||
TextureConfig.cpp
|
TextureConfig.cpp
|
||||||
|
TextureConfig.h
|
||||||
TextureConversionShader.cpp
|
TextureConversionShader.cpp
|
||||||
|
TextureConversionShader.h
|
||||||
TextureConverterShaderGen.cpp
|
TextureConverterShaderGen.cpp
|
||||||
|
TextureConverterShaderGen.h
|
||||||
|
TextureDecoder.h
|
||||||
TextureDecoder_Common.cpp
|
TextureDecoder_Common.cpp
|
||||||
|
TextureDecoder_Util.h
|
||||||
|
UberShaderCommon.cpp
|
||||||
|
UberShaderCommon.h
|
||||||
|
UberShaderPixel.cpp
|
||||||
|
UberShaderPixel.h
|
||||||
|
UberShaderVertex.cpp
|
||||||
|
UberShaderVertex.h
|
||||||
VertexLoader.cpp
|
VertexLoader.cpp
|
||||||
|
VertexLoader.h
|
||||||
VertexLoaderBase.cpp
|
VertexLoaderBase.cpp
|
||||||
|
VertexLoaderBase.h
|
||||||
VertexLoaderManager.cpp
|
VertexLoaderManager.cpp
|
||||||
|
VertexLoaderManager.h
|
||||||
|
VertexLoaderUtils.h
|
||||||
VertexLoader_Color.cpp
|
VertexLoader_Color.cpp
|
||||||
|
VertexLoader_Color.h
|
||||||
VertexLoader_Normal.cpp
|
VertexLoader_Normal.cpp
|
||||||
|
VertexLoader_Normal.h
|
||||||
VertexLoader_Position.cpp
|
VertexLoader_Position.cpp
|
||||||
|
VertexLoader_Position.h
|
||||||
VertexLoader_TextCoord.cpp
|
VertexLoader_TextCoord.cpp
|
||||||
|
VertexLoader_TextCoord.h
|
||||||
VertexManagerBase.cpp
|
VertexManagerBase.cpp
|
||||||
|
VertexManagerBase.h
|
||||||
VertexShaderGen.cpp
|
VertexShaderGen.cpp
|
||||||
|
VertexShaderGen.h
|
||||||
VertexShaderManager.cpp
|
VertexShaderManager.cpp
|
||||||
|
VertexShaderManager.h
|
||||||
VideoBackendBase.cpp
|
VideoBackendBase.cpp
|
||||||
|
VideoBackendBase.h
|
||||||
|
VideoCommon.h
|
||||||
VideoConfig.cpp
|
VideoConfig.cpp
|
||||||
|
VideoConfig.h
|
||||||
VideoState.cpp
|
VideoState.cpp
|
||||||
|
VideoState.h
|
||||||
XFMemory.cpp
|
XFMemory.cpp
|
||||||
|
XFMemory.h
|
||||||
XFStructs.cpp
|
XFStructs.cpp
|
||||||
|
XFStructs.h
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(videocommon
|
target_link_libraries(videocommon
|
||||||
@ -74,10 +141,12 @@ if(_M_X86)
|
|||||||
target_sources(videocommon PRIVATE
|
target_sources(videocommon PRIVATE
|
||||||
TextureDecoder_x64.cpp
|
TextureDecoder_x64.cpp
|
||||||
VertexLoaderX64.cpp
|
VertexLoaderX64.cpp
|
||||||
|
VertexLoaderX64.h
|
||||||
)
|
)
|
||||||
elseif(_M_ARM_64)
|
elseif(_M_ARM_64)
|
||||||
target_sources(videocommon PRIVATE
|
target_sources(videocommon PRIVATE
|
||||||
VertexLoaderARM64.cpp
|
VertexLoaderARM64.cpp
|
||||||
|
VertexLoaderARM64.h
|
||||||
TextureDecoder_Generic.cpp
|
TextureDecoder_Generic.cpp
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
@ -87,7 +156,10 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FFmpeg_FOUND)
|
if(FFmpeg_FOUND)
|
||||||
target_sources(videocommon PRIVATE AVIDump.cpp)
|
target_sources(videocommon PRIVATE
|
||||||
|
AVIDump.cpp
|
||||||
|
AVIDump.h
|
||||||
|
)
|
||||||
target_link_libraries(videocommon PRIVATE
|
target_link_libraries(videocommon PRIVATE
|
||||||
FFmpeg::avcodec
|
FFmpeg::avcodec
|
||||||
FFmpeg::avformat
|
FFmpeg::avformat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user