1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-14 09:23:53 +01:00
dxvk/src/d3d11/meson.build
2019-10-26 17:44:29 +02:00

78 lines
2.1 KiB
Meson

d3d11_res = wrc_generator.process('version.rc')
dxgi_shaders = files([
'../dxgi/shaders/dxgi_presenter_frag.frag',
'../dxgi/shaders/dxgi_presenter_vert.vert',
])
dxgi_common_src = [
'../dxgi/dxgi_format.cpp',
'../dxgi/dxgi_monitor.cpp',
'../dxgi/dxgi_swapchain.cpp',
]
d3d10_src = [
'../d3d10/d3d10_blend.cpp',
'../d3d10/d3d10_buffer.cpp',
'../d3d10/d3d10_depth_stencil.cpp',
'../d3d10/d3d10_device.cpp',
'../d3d10/d3d10_input_layout.cpp',
'../d3d10/d3d10_multithread.cpp',
'../d3d10/d3d10_query.cpp',
'../d3d10/d3d10_rasterizer.cpp',
'../d3d10/d3d10_sampler.cpp',
'../d3d10/d3d10_texture.cpp',
'../d3d10/d3d10_util.cpp',
'../d3d10/d3d10_view_dsv.cpp',
'../d3d10/d3d10_view_rtv.cpp',
'../d3d10/d3d10_view_srv.cpp',
]
d3d11_src = [
'd3d11_annotation.cpp',
'd3d11_blend.cpp',
'd3d11_buffer.cpp',
'd3d11_class_linkage.cpp',
'd3d11_cmdlist.cpp',
'd3d11_context.cpp',
'd3d11_context_def.cpp',
'd3d11_context_ext.cpp',
'd3d11_context_imm.cpp',
'd3d11_depth_stencil.cpp',
'd3d11_device.cpp',
'd3d11_enums.cpp',
'd3d11_gdi.cpp',
'd3d11_initializer.cpp',
'd3d11_input_layout.cpp',
'd3d11_interop.cpp',
'd3d11_main.cpp',
'd3d11_options.cpp',
'd3d11_query.cpp',
'd3d11_rasterizer.cpp',
'd3d11_resource.cpp',
'd3d11_sampler.cpp',
'd3d11_shader.cpp',
'd3d11_state.cpp',
'd3d11_state_object.cpp',
'd3d11_swapchain.cpp',
'd3d11_texture.cpp',
'd3d11_util.cpp',
'd3d11_view_dsv.cpp',
'd3d11_view_rtv.cpp',
'd3d11_view_srv.cpp',
'd3d11_view_uav.cpp',
]
d3d11_dll = shared_library('d3d11'+dll_ext, dxgi_common_src + d3d11_src + d3d10_src, glsl_generator.process(dxgi_shaders), d3d11_res,
name_prefix : '',
dependencies : [ lib_dxgi, dxbc_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,
objects : not dxvk_msvc ? 'd3d11'+def_spec_ext : [],
vs_module_defs : 'd3d11'+def_spec_ext,
override_options : ['cpp_std='+dxvk_cpp_std])
d3d11_dep = declare_dependency(
link_with : [ d3d11_dll ],
include_directories : [ dxvk_include_path ])