mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
60e523b4bf
Co-authored-by: WinterSnowfall <WinterSnowfall@users.noreply.github.com> ## Config Changes Co-authored-by: Blisto91 <47954800+Blisto91@users.noreply.github.com> Co-authored-by: simifor <simirmonfor@gmail.com>
45 lines
871 B
Meson
45 lines
871 B
Meson
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
|
|
|
|
if get_option('enable_d3d8')
|
|
if not get_option('enable_d3d9')
|
|
error('D3D9 is required for D3D8.')
|
|
endif
|
|
subdir('d3d8')
|
|
endif
|
|
|
|
# Nothing selected
|
|
if not get_option('enable_d3d8') and not get_option('enable_d3d9') and not get_option('enable_dxgi')
|
|
warning('Nothing selected to be built.?')
|
|
endif
|