2018-08-11 16:36:54 +02:00
|
|
|
d3d10_src = [
|
2018-08-11 22:11:18 +02:00
|
|
|
'../d3d10/d3d10_blend.cpp',
|
2018-08-11 19:28:30 +02:00
|
|
|
'../d3d10/d3d10_buffer.cpp',
|
2018-08-11 22:31:12 +02:00
|
|
|
'../d3d10/d3d10_depth_stencil.cpp',
|
2018-08-11 16:36:54 +02:00
|
|
|
'../d3d10/d3d10_device.cpp',
|
2018-08-11 21:38:10 +02:00
|
|
|
'../d3d10/d3d10_input_layout.cpp',
|
2018-08-12 00:20:17 +02:00
|
|
|
'../d3d10/d3d10_query.cpp',
|
2018-08-11 22:44:10 +02:00
|
|
|
'../d3d10/d3d10_rasterizer.cpp',
|
2018-08-11 20:42:28 +02:00
|
|
|
'../d3d10/d3d10_sampler.cpp',
|
2018-08-11 18:45:41 +02:00
|
|
|
'../d3d10/d3d10_texture.cpp',
|
|
|
|
'../d3d10/d3d10_util.cpp',
|
2018-08-11 23:53:21 +02:00
|
|
|
'../d3d10/d3d10_view_dsv.cpp',
|
2018-08-11 23:31:45 +02:00
|
|
|
'../d3d10/d3d10_view_rtv.cpp',
|
2018-08-11 23:19:28 +02:00
|
|
|
'../d3d10/d3d10_view_srv.cpp',
|
2018-08-11 16:36:54 +02:00
|
|
|
]
|
|
|
|
|
2017-10-11 09:51:48 +02:00
|
|
|
d3d11_src = [
|
2018-06-11 14:29:47 +02:00
|
|
|
'd3d11_annotation.cpp',
|
2017-12-11 13:03:07 +01:00
|
|
|
'd3d11_blend.cpp',
|
2017-10-15 21:38:09 +02:00
|
|
|
'd3d11_buffer.cpp',
|
2017-12-12 01:07:27 +01:00
|
|
|
'd3d11_class_linkage.cpp',
|
2018-01-23 09:23:31 +01:00
|
|
|
'd3d11_cmdlist.cpp',
|
2017-10-11 09:51:48 +02:00
|
|
|
'd3d11_context.cpp',
|
2018-01-23 09:23:31 +01:00
|
|
|
'd3d11_context_def.cpp',
|
2018-01-20 13:22:44 +01:00
|
|
|
'd3d11_context_imm.cpp',
|
2018-08-30 15:14:26 +02:00
|
|
|
'd3d11_counter_buffer.cpp',
|
2017-12-11 01:43:15 +01:00
|
|
|
'd3d11_depth_stencil.cpp',
|
2017-10-11 09:51:48 +02:00
|
|
|
'd3d11_device.cpp',
|
2017-12-02 16:46:53 +01:00
|
|
|
'd3d11_enums.cpp',
|
2018-07-23 15:21:17 +02:00
|
|
|
'd3d11_initializer.cpp',
|
2017-12-07 12:45:02 +01:00
|
|
|
'd3d11_input_layout.cpp',
|
2018-04-20 00:19:03 +02:00
|
|
|
'd3d11_interop.cpp',
|
2017-10-11 09:51:48 +02:00
|
|
|
'd3d11_main.cpp',
|
2018-03-24 17:02:24 +01:00
|
|
|
'd3d11_options.cpp',
|
2017-11-29 16:23:33 +01:00
|
|
|
'd3d11_present.cpp',
|
2017-12-29 22:20:31 +01:00
|
|
|
'd3d11_query.cpp',
|
2017-12-10 23:27:20 +01:00
|
|
|
'd3d11_rasterizer.cpp',
|
2018-08-05 18:45:24 +02:00
|
|
|
'd3d11_resource.cpp',
|
2017-12-09 20:49:56 +01:00
|
|
|
'd3d11_sampler.cpp',
|
2017-12-06 14:16:14 +01:00
|
|
|
'd3d11_shader.cpp',
|
2017-12-06 12:11:59 +01:00
|
|
|
'd3d11_state.cpp',
|
2017-11-27 15:51:53 +01:00
|
|
|
'd3d11_texture.cpp',
|
2017-12-11 01:43:15 +01:00
|
|
|
'd3d11_util.cpp',
|
2018-02-05 22:35:23 +01:00
|
|
|
'd3d11_view_dsv.cpp',
|
|
|
|
'd3d11_view_rtv.cpp',
|
|
|
|
'd3d11_view_srv.cpp',
|
|
|
|
'd3d11_view_uav.cpp',
|
2017-10-11 09:51:48 +02:00
|
|
|
]
|
|
|
|
|
2018-08-11 16:36:54 +02:00
|
|
|
d3d11_dll = shared_library('d3d11'+dll_ext, d3d11_src + d3d10_src,
|
2017-10-11 15:32:24 +02:00
|
|
|
name_prefix : '',
|
2018-07-18 02:35:20 +02:00
|
|
|
dependencies : [ lib_dxgi, dxbc_dep, dxvk_dep ],
|
2017-10-11 15:32:24 +02:00
|
|
|
include_directories : dxvk_include_path,
|
2018-03-06 18:34:34 +01:00
|
|
|
install : true,
|
2018-07-21 12:43:33 +02:00
|
|
|
objects : not dxvk_msvc ? 'd3d11'+def_spec_ext : [],
|
|
|
|
vs_module_defs : 'd3d11'+def_spec_ext,
|
2018-03-06 18:34:34 +01:00
|
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
2017-10-11 09:51:48 +02:00
|
|
|
|
|
|
|
d3d11_dep = declare_dependency(
|
|
|
|
link_with : [ d3d11_dll ],
|
|
|
|
include_directories : [ dxvk_include_path, include_directories('.') ])
|