summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/CMakeLists.txt
blob: bc89b89df34e4dfb160abbeea3b2863062d11080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
add_library(videod3d12
  D3D12BoundingBox.cpp
  D3D12BoundingBox.h
  D3D12PerfQuery.cpp
  D3D12PerfQuery.h
  D3D12Gfx.cpp
  D3D12Gfx.h
  D3D12StreamBuffer.cpp
  D3D12StreamBuffer.h
  D3D12SwapChain.cpp
  D3D12SwapChain.h
  D3D12VertexManager.cpp
  D3D12VertexManager.h
  DescriptorAllocator.cpp
  DescriptorAllocator.h
  DescriptorHeapManager.cpp
  DescriptorHeapManager.h
  DX12Context.cpp
  DX12Context.h
  DX12Pipeline.cpp
  DX12Pipeline.h
  DX12Shader.cpp
  DX12Shader.h
  DX12Texture.cpp
  DX12Texture.h
  DX12VertexFormat.cpp
  DX12VertexFormat.h
  VideoBackend.cpp
  VideoBackend.h
)

target_link_libraries(videod3d12
PUBLIC
  common
  videocommon
  videod3dcommon
)

if(MSVC)
  # Add precompiled header
  target_link_libraries(videod3d12 PRIVATE use_pch)
endif()