2018-04-10 18:46:39 +02:00
|
|
|
dxgi_shaders = files([
|
|
|
|
'shaders/dxgi_presenter_frag.frag',
|
|
|
|
'shaders/dxgi_presenter_vert.vert',
|
|
|
|
])
|
|
|
|
|
2017-10-11 03:09:04 +02:00
|
|
|
dxgi_src = [
|
|
|
|
'dxgi_adapter.cpp',
|
2017-10-11 15:31:36 +02:00
|
|
|
'dxgi_device.cpp',
|
2017-12-04 11:33:04 +01:00
|
|
|
'dxgi_enums.cpp',
|
2017-10-11 03:09:04 +02:00
|
|
|
'dxgi_factory.cpp',
|
2018-04-12 15:36:01 +02:00
|
|
|
'dxgi_format.cpp',
|
2017-10-11 03:09:04 +02:00
|
|
|
'dxgi_main.cpp',
|
|
|
|
'dxgi_output.cpp',
|
2017-11-29 21:46:09 +01:00
|
|
|
'dxgi_presenter.cpp',
|
2017-10-11 03:09:04 +02:00
|
|
|
'dxgi_swapchain.cpp',
|
|
|
|
]
|
|
|
|
|
2018-04-10 18:46:39 +02:00
|
|
|
dxgi_dll = shared_library('dxgi', dxgi_src, glsl_generator.process(dxgi_shaders),
|
2017-10-11 15:31:36 +02:00
|
|
|
name_prefix : '',
|
2017-10-11 03:09:04 +02:00
|
|
|
link_with : [ util_lib ],
|
|
|
|
dependencies : [ dxvk_dep ],
|
2017-10-11 15:31:36 +02:00
|
|
|
include_directories : dxvk_include_path,
|
2018-03-06 18:34:34 +01:00
|
|
|
install : true,
|
|
|
|
vs_module_defs : 'dxgi.def',
|
|
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
2017-10-11 03:09:04 +02:00
|
|
|
|
|
|
|
dxgi_dep = declare_dependency(
|
|
|
|
link_with : [ dxgi_dll ],
|
|
|
|
include_directories : [ dxvk_include_path, include_directories('.') ])
|