blob: 779d9d46ff83dd52a4b23542a4715e2b697c44c1 (
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
|
subdir('wsi')
subdir('util')
subdir('spirv')
subdir('vulkan')
subdir('dxvk')
if get_option('enable_dxgi')
subdir('dxgi')
endif
if get_option('enable_d3d10') or get_option('enable_d3d11')
subdir('dxbc')
endif
if get_option('enable_d3d11')
if not get_option('enable_dxgi')
error('DXGI is required for D3D11.')
endif
subdir('d3d11')
endif
if get_option('enable_d3d10')
if not get_option('enable_d3d11')
error('D3D11 is required for D3D10.')
endif
subdir('d3d10')
endif
if get_option('enable_d3d9')
subdir('dxso')
subdir('d3d9')
endif
# Nothing selected
if not get_option('enable_d3d9') and not get_option('enable_dxgi')
warning('Nothing selected to be built.?')
endif
|