1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 01:24:12 +01:00
dxvk/src/meson.build

37 lines
825 B
Meson
Raw Normal View History

2017-10-10 23:32:13 +02:00
subdir('util')
subdir('spirv')
subdir('vulkan')
2017-10-11 03:09:04 +02:00
subdir('dxvk')
if get_option('enable_dxgi')
if not get_option('enable_d3d11')
error('D3D11 is required for DXGI.')
endif
subdir('dxgi')
endif
if get_option('enable_d3d10') or get_option('enable_d3d11') or get_option('enable_tests')
subdir('dxbc')
endif
if get_option('enable_d3d11')
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_d3d10') and not get_option('enable_d3d11') and not get_option('enable_tests')
warning('Nothing selected to be built. Are you missing a frontend or tests?')
endif