2017-10-10 23:32:13 +02:00
|
|
|
subdir('util')
|
2017-10-18 09:50:30 +02:00
|
|
|
subdir('spirv')
|
2018-11-02 14:23:45 +01:00
|
|
|
subdir('vulkan')
|
2017-10-11 03:09:04 +02:00
|
|
|
subdir('dxvk')
|
2019-05-15 08:40:50 +02:00
|
|
|
|
|
|
|
if get_option('enable_dxgi')
|
2019-11-05 00:16:21 +01:00
|
|
|
if not get_option('enable_d3d11')
|
|
|
|
error('D3D11 is required for DXGI.')
|
2019-05-15 08:40:50 +02:00
|
|
|
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')
|
2019-11-05 00:16:21 +01:00
|
|
|
error('D3D11 is required for D3D10.')
|
2019-05-15 08:40:50 +02:00
|
|
|
endif
|
|
|
|
subdir('d3d10')
|
|
|
|
endif
|
|
|
|
|
2019-12-16 04:28:01 +01:00
|
|
|
if get_option('enable_d3d9')
|
|
|
|
subdir('dxso')
|
|
|
|
subdir('d3d9')
|
|
|
|
endif
|
|
|
|
|
2019-05-15 08:40:50 +02:00
|
|
|
# Nothing selected
|
2019-12-16 04:28:01 +01:00
|
|
|
if not get_option('enable_d3d9') and not get_option('enable_d3d10') and not get_option('enable_d3d11') and not get_option('enable_tests')
|
2019-11-05 00:05:54 +01:00
|
|
|
warning('Nothing selected to be built. Are you missing a frontend or tests?')
|
2019-05-15 08:40:50 +02:00
|
|
|
endif
|