dxvk/src/meson.build

42 lines
860 B
Meson

subdir('wsi')
subdir('util')
subdir('spirv')
subdir('vulkan')
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')
subdir('dxbc')
endif
if get_option('enable_d3d11')
subdir('d3d11')
endif
if get_option('enable_d3d10')
if platform == 'windows'
if not get_option('enable_d3d11')
error('D3D11 is required for D3D10.')
endif
subdir('d3d10')
else
warning('Building D3D10 is not supported on non-Windows platforms')
endif
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')
warning('Nothing selected to be built.?')
endif