2018-08-11 16:35:38 +02:00
|
|
|
d3d10_main_src = [
|
2018-08-12 06:02:01 +02:00
|
|
|
'd3d10_main.cpp',
|
|
|
|
'd3d10_reflection.cpp',
|
2018-08-11 16:35:38 +02:00
|
|
|
]
|
|
|
|
|
2018-08-27 23:19:18 +02:00
|
|
|
d3d10_deps = [ lib_d3dcompiler_43, lib_dxgi ]
|
2018-11-04 16:18:32 +01:00
|
|
|
d3d10_deps += dxvk_winelib ? lib_d3d11 : d3d11_dep
|
2018-08-27 23:19:18 +02:00
|
|
|
|
2018-08-11 16:35:38 +02:00
|
|
|
d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_main_src,
|
|
|
|
name_prefix : '',
|
2018-08-27 23:19:18 +02:00
|
|
|
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
objects : not dxvk_msvc ? 'd3d10core'+def_spec_ext : [],
|
|
|
|
vs_module_defs : 'd3d10core'+def_spec_ext,
|
|
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
|
|
|
|
|
|
|
d3d10_dll = shared_library('d3d10'+dll_ext, d3d10_main_src,
|
|
|
|
name_prefix : '',
|
2018-08-27 23:19:18 +02:00
|
|
|
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
objects : not dxvk_msvc ? 'd3d10'+def_spec_ext : [],
|
|
|
|
vs_module_defs : 'd3d10'+def_spec_ext,
|
|
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
|
|
|
|
|
|
|
d3d10_1_dll = shared_library('d3d10_1'+dll_ext, d3d10_main_src,
|
|
|
|
name_prefix : '',
|
2018-08-27 23:19:18 +02:00
|
|
|
dependencies : [ d3d10_deps, dxbc_dep, dxvk_dep ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
objects : not dxvk_msvc ? 'd3d10_1'+def_spec_ext : [],
|
|
|
|
vs_module_defs : 'd3d10_1'+def_spec_ext,
|
|
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
|
|
|
|
|
|
|
d3d10_dep = declare_dependency(
|
|
|
|
link_with : [ d3d10_dll, d3d10_1_dll, d3d10_core_dll ],
|
2018-11-02 14:54:39 +01:00
|
|
|
include_directories : [ dxvk_include_path ])
|