mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
54ed8f0bb0
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de> Co-authored-by: Robin Kertels <robin.kertels@gmail.com> Co-authored-by: pchome <pchome@users.noreply.github.com> Co-authored-by: Christopher Egert <cme3000@gmail.com> Co-authored-by: Derek Lesho <dereklesho52@Gmail.com> Co-authored-by: Luis Cáceres <lacaceres97@gmail.com> Co-authored-by: Nelson Chen <crazysim@gmail.com> Co-authored-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Co-authored-by: Riesi <riesi@opentrash.com> Co-authored-by: gbMichelle <gbmichelle.dev@gmail.com>
37 lines
825 B
Meson
37 lines
825 B
Meson
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') 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
|