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_rasterizer.cpp', '../d3d10/d3d10_sampler.cpp', '../d3d10/d3d10_texture.cpp', '../d3d10/d3d10_util.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_imm.cpp', 'd3d11_depth_stencil.cpp', 'd3d11_device.cpp', 'd3d11_enums.cpp', 'd3d11_initializer.cpp', 'd3d11_input_layout.cpp', 'd3d11_interop.cpp', 'd3d11_main.cpp', 'd3d11_options.cpp', 'd3d11_present.cpp', 'd3d11_query.cpp', 'd3d11_rasterizer.cpp', 'd3d11_resource.cpp', 'd3d11_sampler.cpp', 'd3d11_shader.cpp', 'd3d11_state.cpp', 'd3d11_texture.cpp', 'd3d11_uav_counter.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, d3d11_src + d3d10_src, name_prefix : '', link_with : [ util_lib ], 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, include_directories('.') ])