2019-04-06 10:45:52 +02:00
|
|
|
d3d10_res = wrc_generator.process('version10.rc')
|
|
|
|
d3d10_1_res = wrc_generator.process('version10_1.rc')
|
|
|
|
d3d10_core_res = wrc_generator.process('version10_core.rc')
|
2019-04-02 16:31:21 +02:00
|
|
|
|
2020-03-18 21:23:54 +01:00
|
|
|
d3d10_core_src = [
|
|
|
|
'd3d10_core.cpp',
|
|
|
|
]
|
|
|
|
|
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',
|
2019-05-03 13:03:19 +02:00
|
|
|
'd3d10_state_block.cpp',
|
2018-08-11 16:35:38 +02:00
|
|
|
]
|
|
|
|
|
2020-03-18 21:23:54 +01:00
|
|
|
d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_core_src, d3d10_core_res,
|
2018-08-11 16:35:38 +02:00
|
|
|
name_prefix : '',
|
2020-04-20 17:30:57 +02:00
|
|
|
dependencies : [ d3d11_dep ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
vs_module_defs : 'd3d10core'+def_spec_ext,
|
2022-02-22 23:34:02 +01:00
|
|
|
)
|
2018-08-11 16:35:38 +02:00
|
|
|
|
2020-03-18 21:23:54 +01:00
|
|
|
d3d10_core_dep = declare_dependency(
|
2022-02-22 23:34:02 +01:00
|
|
|
link_with : [ d3d10_core_dll ],
|
|
|
|
)
|
2020-03-18 21:23:54 +01:00
|
|
|
|
|
|
|
d3d10_deps = [ lib_d3dcompiler_43, lib_dxgi, dxbc_dep, dxvk_dep, d3d10_core_dep ]
|
|
|
|
|
2019-04-06 10:45:52 +02:00
|
|
|
d3d10_dll = shared_library('d3d10'+dll_ext, d3d10_main_src, d3d10_res,
|
2018-08-11 16:35:38 +02:00
|
|
|
name_prefix : '',
|
2020-03-18 21:23:54 +01:00
|
|
|
dependencies : [ d3d10_deps ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
vs_module_defs : 'd3d10'+def_spec_ext,
|
2022-02-22 23:34:02 +01:00
|
|
|
)
|
2018-08-11 16:35:38 +02:00
|
|
|
|
2019-04-06 10:45:52 +02:00
|
|
|
d3d10_1_dll = shared_library('d3d10_1'+dll_ext, d3d10_main_src, d3d10_1_res,
|
2018-08-11 16:35:38 +02:00
|
|
|
name_prefix : '',
|
2020-03-18 21:23:54 +01:00
|
|
|
dependencies : [ d3d10_deps ],
|
2018-08-11 16:35:38 +02:00
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
vs_module_defs : 'd3d10_1'+def_spec_ext,
|
2022-02-22 23:34:02 +01:00
|
|
|
)
|
2018-08-11 16:35:38 +02:00
|
|
|
|
|
|
|
d3d10_dep = declare_dependency(
|
|
|
|
link_with : [ d3d10_dll, d3d10_1_dll, d3d10_core_dll ],
|
2022-02-22 23:34:02 +01:00
|
|
|
include_directories : [ dxvk_include_path ],
|
|
|
|
)
|