Files
third_party_mesa3d/src/gallium/targets/lavapipe/meson.build

34 lines
1.1 KiB
Meson
Raw Normal View History

libvulkan_lvp = shared_library(
'vulkan_lvp',
[ 'target.c' ],
include_directories : [ inc_src, inc_util, inc_include, inc_gallium, inc_gallium_aux, inc_gallium_winsys, inc_gallium_drivers ],
link_whole : [ liblavapipe_st ],
link_with : [libpipe_loader_static, libmegadriver_stub, libgallium, libwsw, libswdri, libws_null, libswkmsdri ],
gnu_symbol_visibility : 'hidden',
link_args : [ld_args_bsymbolic, ld_args_gc_sections],
dependencies : driver_swrast,
install : true,
)
if with_platform_windows
module_dir = join_paths(get_option('prefix'), get_option('bindir'))
else
module_dir = join_paths(get_option('prefix'), get_option('libdir'))
endif
lvp_icd = custom_target(
'lvp_icd',
input : 'lvp_icd.py',
output : 'lvp_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT@',
'--lib-path', module_dir,
'--out', '@OUTPUT@',
'--suffix', libvulkan_lvp.full_path().split('.')[-1],
],
depend_files : files('../../frontends/lavapipe/lvp_extensions.py'),
build_by_default : true,
install_dir : with_vulkan_icd_dir,
install : true,
)