1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-10 10:29:25 +01:00
dxvk/src/dxgi/meson.build

38 lines
967 B
Meson
Raw Normal View History

dxgi_res = wrc_generator.process('version.rc')
2017-10-11 03:09:04 +02:00
dxgi_src = [
'dxgi_adapter.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_monitor.cpp',
2018-05-24 12:31:04 +02:00
'dxgi_options.cpp',
2017-10-11 03:09:04 +02:00
'dxgi_output.cpp',
2022-10-27 19:36:56 +02:00
'dxgi_surface.cpp',
2017-10-11 03:09:04 +02:00
'dxgi_swapchain.cpp',
]
dxgi_ld_args = []
dxgi_link_depends = []
if platform != 'windows'
dxgi_ld_args += [ '-Wl,--version-script', join_paths(meson.current_source_dir(), 'dxgi.sym') ]
dxgi_link_depends += files('dxgi.sym')
endif
dxgi_dll = shared_library('dxgi'+dll_ext, dxgi_src, dxgi_res,
name_prefix : dxvk_name_prefix,
2017-10-11 03:09:04 +02:00
dependencies : [ dxvk_dep ],
2017-10-11 15:31:36 +02:00
include_directories : dxvk_include_path,
install : true,
vs_module_defs : 'dxgi'+def_spec_ext,
link_args : dxgi_ld_args,
link_depends : [ dxgi_link_depends ],
)
2017-10-11 03:09:04 +02:00
dxgi_dep = declare_dependency(
link_with : [ dxgi_dll ],
include_directories : [ dxvk_include_path ],
)