2022-08-09 12:38:15 +01:00
|
|
|
subdir('wsi')
|
2017-10-10 22:32:13 +01:00
|
|
|
subdir('util')
|
2017-10-18 08:50:30 +01:00
|
|
|
subdir('spirv')
|
2018-11-02 13:23:45 +00:00
|
|
|
subdir('vulkan')
|
2017-10-11 02:09:04 +01:00
|
|
|
subdir('dxvk')
|
2019-05-15 07:40:50 +01:00
|
|
|
|
|
|
|
if get_option('enable_dxgi')
|
2019-11-04 23:16:21 +00:00
|
|
|
if not get_option('enable_d3d11')
|
|
|
|
error('D3D11 is required for DXGI.')
|
2019-05-15 07:40:50 +01:00
|
|
|
endif
|
|
|
|
subdir('dxgi')
|
|
|
|
endif
|
|
|
|
|
2022-08-31 15:59:58 +01:00
|
|
|
if get_option('enable_d3d10') or get_option('enable_d3d11')
|
2019-05-15 07:40:50 +01:00
|
|
|
subdir('dxbc')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('enable_d3d11')
|
|
|
|
subdir('d3d11')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('enable_d3d10')
|
2022-10-15 18:17:29 +01:00
|
|
|
if not get_option('enable_d3d11')
|
|
|
|
error('D3D11 is required for D3D10.')
|
2019-05-15 07:40:50 +01:00
|
|
|
endif
|
2022-10-15 18:17:29 +01:00
|
|
|
subdir('d3d10')
|
2019-05-15 07:40:50 +01:00
|
|
|
endif
|
|
|
|
|
2019-12-16 03:28:01 +00:00
|
|
|
if get_option('enable_d3d9')
|
|
|
|
subdir('dxso')
|
|
|
|
subdir('d3d9')
|
|
|
|
endif
|
|
|
|
|
2019-05-15 07:40:50 +01:00
|
|
|
# Nothing selected
|
2022-08-31 15:59:58 +01:00
|
|
|
if not get_option('enable_d3d9') and not get_option('enable_d3d10') and not get_option('enable_d3d11')
|
|
|
|
warning('Nothing selected to be built.?')
|
2019-05-15 07:40:50 +01:00
|
|
|
endif
|