1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-09 22:46:08 +01:00
dxvk/src/dxgi/meson.build

30 lines
802 B
Meson
Raw Normal View History

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',
'dxgi_enums.cpp',
2017-10-11 03:09:04 +02:00
'dxgi_factory.cpp',
'dxgi_format.cpp',
2017-10-11 03:09:04 +02:00
'dxgi_main.cpp',
'dxgi_output.cpp',
'dxgi_presenter.cpp',
2017-10-11 03:09:04 +02:00
'dxgi_swapchain.cpp',
]
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,
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('.') ])