Debian Codegraph @

Source/Core/VideoCommon/CMakeLists.txt

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 add_library(videocommon
2 AbstractFramebuffer.cpp
3 AbstractFramebuffer.h
4 AbstractGfx.cpp
5 AbstractGfx.h
6 AbstractShader.h
7 AbstractStagingTexture.cpp
8 AbstractStagingTexture.h
9 AbstractTexture.cpp
10 AbstractTexture.h
11 Assets/AssetListener.h
12 Assets/CustomAsset.cpp
13 Assets/CustomAsset.h
14 Assets/CustomAssetCache.cpp
15 Assets/CustomAssetCache.h
16 Assets/CustomAssetLibrary.h
17 Assets/CustomAssetLoader.cpp
18 Assets/CustomAssetLoader.h
19 Assets/CustomTextureData.cpp
20 Assets/CustomTextureData.h
21 Assets/DirectFilesystemAssetLibrary.cpp
22 Assets/DirectFilesystemAssetLibrary.h
23 Assets/MaterialAsset.cpp
24 Assets/MaterialAsset.h
25 Assets/MeshAsset.cpp
26 Assets/MeshAsset.h
27 Assets/ShaderAsset.cpp
28 Assets/ShaderAsset.h
29 Assets/TextureAsset.cpp
30 Assets/TextureAsset.h
31 Assets/TextureAssetUtils.cpp
32 Assets/TextureAssetUtils.h
33 Assets/TextureSamplerValue.cpp
34 Assets/TextureSamplerValue.h
35 Assets/Types.h
36 Assets/WatchableFilesystemAssetLibrary.h
37 AsyncRequests.cpp
38 AsyncRequests.h
39 AsyncShaderCompiler.cpp
40 AsyncShaderCompiler.h
41 BoundingBox.cpp
42 BoundingBox.h
43 BPFunctions.cpp
44 BPFunctions.h
45 BPMemory.cpp
46 BPMemory.h
47 BPStructs.cpp
48 BPStructs.h
49 CommandProcessor.cpp
50 CommandProcessor.h
51 ConstantManager.h
52 Constants.h
53 CPMemory.cpp
54 CPMemory.h
55 CPUCull.cpp
56 CPUCull.h
57 CPUCullImpl.h
58 DriverDetails.cpp
59 DriverDetails.h
60 EFBInterface.cpp
61 EFBInterface.h
62 Fifo.cpp
63 Fifo.h
64 FramebufferManager.cpp
65 FramebufferManager.h
66 FramebufferShaderGen.cpp
67 FramebufferShaderGen.h
68 FrameDumper.cpp
69 FrameDumper.h
70 FrameDumpFFMpeg.h
71 FreeLookCamera.cpp
72 FreeLookCamera.h
73 GeometryShaderGen.cpp
74 GeometryShaderGen.h
75 GeometryShaderManager.cpp
76 GeometryShaderManager.h
77 GraphicsModSystem/Config/GraphicsMod.cpp
78 GraphicsModSystem/Config/GraphicsMod.h
79 GraphicsModSystem/Config/GraphicsModAsset.cpp
80 GraphicsModSystem/Config/GraphicsModAsset.h
81 GraphicsModSystem/Config/GraphicsModFeature.cpp
82 GraphicsModSystem/Config/GraphicsModFeature.h
83 GraphicsModSystem/Config/GraphicsModGroup.cpp
84 GraphicsModSystem/Config/GraphicsModGroup.h
85 GraphicsModSystem/Config/GraphicsTarget.cpp
86 GraphicsModSystem/Config/GraphicsTarget.h
87 GraphicsModSystem/Config/GraphicsTargetGroup.cpp
88 GraphicsModSystem/Config/GraphicsTargetGroup.h
89 GraphicsModSystem/Constants.h
90 GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp
91 GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h
92 GraphicsModSystem/Runtime/Actions/MoveAction.cpp
93 GraphicsModSystem/Runtime/Actions/MoveAction.h
94 GraphicsModSystem/Runtime/Actions/PrintAction.cpp
95 GraphicsModSystem/Runtime/Actions/PrintAction.h
96 GraphicsModSystem/Runtime/Actions/ScaleAction.cpp
97 GraphicsModSystem/Runtime/Actions/ScaleAction.h
98 GraphicsModSystem/Runtime/Actions/SkipAction.cpp
99 GraphicsModSystem/Runtime/Actions/SkipAction.h
100 GraphicsModSystem/Runtime/CustomPipeline.cpp
101 GraphicsModSystem/Runtime/CustomPipeline.h
102 GraphicsModSystem/Runtime/CustomShaderCache.cpp
103 GraphicsModSystem/Runtime/CustomShaderCache.h
104 GraphicsModSystem/Runtime/FBInfo.cpp
105 GraphicsModSystem/Runtime/FBInfo.h
106 GraphicsModSystem/Runtime/GraphicsModAction.h
107 GraphicsModSystem/Runtime/GraphicsModActionData.h
108 GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp
109 GraphicsModSystem/Runtime/GraphicsModActionFactory.h
110 GraphicsModSystem/Runtime/GraphicsModManager.cpp
111 GraphicsModSystem/Runtime/GraphicsModManager.h
112 HiresTextures.cpp
113 HiresTextures.h
114 IndexGenerator.cpp
115 IndexGenerator.h
116 LightingShaderGen.cpp
117 LightingShaderGen.h
118 LookUpTables.h
119 NativeVertexFormat.h
120 NetPlayChatUI.cpp
121 NetPlayChatUI.h
122 NetPlayGolfUI.cpp
123 NetPlayGolfUI.h
124 OnScreenDisplay.cpp
125 OnScreenDisplay.h
126 OnScreenUI.cpp
127 OnScreenUI.h
128 OnScreenUIKeyMap.h
129 OpcodeDecoding.cpp
130 OpcodeDecoding.h
131 PerfQueryBase.cpp
132 PerfQueryBase.h
133 PerformanceMetrics.cpp
134 PerformanceMetrics.h
135 PerformanceTracker.cpp
136 PerformanceTracker.h
137 PipelineUtils.cpp
138 PipelineUtils.h
139 PixelEngine.cpp
140 PixelEngine.h
141 PixelShaderGen.cpp
142 PixelShaderGen.h
143 PixelShaderManager.cpp
144 PixelShaderManager.h
145 PostProcessing.cpp
146 PostProcessing.h
147 Present.cpp
148 Present.h
149 RenderState.cpp
150 RenderState.h
151 Resources/CustomResourceManager.cpp
152 Resources/CustomResourceManager.h
153 Resources/InvalidTextures.cpp
154 Resources/InvalidTextures.h
155 Resources/MaterialResource.cpp
156 Resources/MaterialResource.h
157 Resources/Resource.cpp
158 Resources/Resource.h
159 Resources/ShaderResource.cpp
160 Resources/ShaderResource.h
161 Resources/TextureAndSamplerResource.cpp
162 Resources/TextureAndSamplerResource.h
163 Resources/TextureDataResource.cpp
164 Resources/TextureDataResource.h
165 Resources/TexturePool.cpp
166 Resources/TexturePool.h
167 ShaderCache.cpp
168 ShaderCache.h
169 ShaderCompileUtils.cpp
170 ShaderCompileUtils.h
171 ShaderGenCommon.cpp
172 ShaderGenCommon.h
173 Spirv.cpp
174 Spirv.h
175 Statistics.cpp
176 Statistics.h
177 TextureCacheBase.cpp
178 TextureCacheBase.h
179 TextureConfig.cpp
180 TextureConfig.h
181 TextureConversionShader.cpp
182 TextureConversionShader.h
183 TextureConverterShaderGen.cpp
184 TextureConverterShaderGen.h
185 TextureDecoder.h
186 TextureDecoder_Common.cpp
187 TextureDecoder_Util.h
188 TextureInfo.cpp
189 TextureInfo.h
190 TextureUtils.cpp
191 TextureUtils.h
192 TMEM.cpp
193 TMEM.h
194 UberShaderCommon.cpp
195 UberShaderCommon.h
196 UberShaderPixel.cpp
197 UberShaderPixel.h
198 UberShaderVertex.cpp
199 UberShaderVertex.h
200 VertexLoader.cpp
201 VertexLoader.h
202 VertexLoaderBase.cpp
203 VertexLoaderBase.h
204 VertexLoaderManager.cpp
205 VertexLoaderManager.h
206 VertexLoaderUtils.h
207 VertexLoader_Color.cpp
208 VertexLoader_Color.h
209 VertexLoader_Normal.cpp
210 VertexLoader_Normal.h
211 VertexLoader_Position.cpp
212 VertexLoader_Position.h
213 VertexLoader_TextCoord.cpp
214 VertexLoader_TextCoord.h
215 VertexManagerBase.cpp
216 VertexManagerBase.h
217 VertexShaderGen.cpp
218 VertexShaderGen.h
219 VertexShaderManager.cpp
220 VertexShaderManager.h
221 VideoBackendBase.cpp
222 VideoBackendBase.h
223 VideoEvents.h
224 VideoCommon.h
225 VideoConfig.cpp
226 VideoConfig.h
227 VideoState.cpp
228 VideoState.h
229 Widescreen.cpp
230 Widescreen.h
231 XFMemory.cpp
232 XFMemory.h
233 XFStateManager.cpp
234 XFStateManager.h
235 XFStructs.cpp
236 XFStructs.h
237 )
238
239 target_link_libraries(videocommon
240 PUBLIC
241 core
242 glslang::glslang
243 PRIVATE
244 fmt::fmt
245 spng::spng
246 xxhash::xxhash
247 imgui
248 implot
249 glslang::SPIRV
250 tinygltf
251 )
252
253 if(_M_X86_64)
254 target_sources(videocommon PRIVATE
255 TextureDecoder_x64.cpp
256 VertexLoaderX64.cpp
257 VertexLoaderX64.h
258 )
259 elseif(_M_ARM_64)
260 target_sources(videocommon PRIVATE
261 VertexLoaderARM64.cpp
262 VertexLoaderARM64.h
263 TextureDecoder_Generic.cpp
264 )
265 else()
266 target_sources(videocommon PRIVATE
267 TextureDecoder_Generic.cpp
268 )
269 endif()
270
271 if(FFmpeg_FOUND)
272 target_sources(videocommon PRIVATE
273 FrameDumpFFMpeg.cpp
274 )
275 target_link_libraries(videocommon PRIVATE
276 FFmpeg::avcodec
277 FFmpeg::avformat
278 FFmpeg::avutil
279 FFmpeg::swresample
280 FFmpeg::swscale
281 )
282 if(APPLE)
283 target_link_libraries(videocommon PRIVATE
284 ${COREMEDIA_LIBRARY}
285 ${VIDEOTOOLBOX_LIBRARY}
286 ${COREVIDEO_LIBRARY}
287 ${AUDIOTOOLBOX_LIBRARY}
288 )
289 endif()
290 endif()
291
292 if(MSVC)
293 # Add precompiled header
294 target_link_libraries(videocommon PRIVATE use_pch)
295 endif()