meson: Provide binaries when built as a subproject
This commit is contained in:
parent
7be06f6377
commit
c7dd63d1a0
|
@ -25,6 +25,7 @@ if conf.get('HAVE_GLIB', 0) == 1
|
||||||
link_with: [libharfbuzz],
|
link_with: [libharfbuzz],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
meson.override_find_program('hb-view', hb_view)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
hb_shape = executable('hb-shape', hb_shape_sources,
|
hb_shape = executable('hb-shape', hb_shape_sources,
|
||||||
|
@ -34,6 +35,7 @@ if conf.get('HAVE_GLIB', 0) == 1
|
||||||
link_with: [libharfbuzz],
|
link_with: [libharfbuzz],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
meson.override_find_program('hb-shape', hb_shape)
|
||||||
|
|
||||||
hb_subset = executable('hb-subset', hb_subset_cli_sources,
|
hb_subset = executable('hb-subset', hb_subset_cli_sources,
|
||||||
cpp_args: cpp_args,
|
cpp_args: cpp_args,
|
||||||
|
@ -42,6 +44,7 @@ if conf.get('HAVE_GLIB', 0) == 1
|
||||||
link_with: [libharfbuzz, libharfbuzz_subset],
|
link_with: [libharfbuzz, libharfbuzz_subset],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
meson.override_find_program('hb-subset', hb_subset)
|
||||||
|
|
||||||
hb_ot_shape_closure = executable('hb-ot-shape-closure', hb_ot_shape_closure_sources,
|
hb_ot_shape_closure = executable('hb-ot-shape-closure', hb_ot_shape_closure_sources,
|
||||||
cpp_args: cpp_args,
|
cpp_args: cpp_args,
|
||||||
|
@ -50,6 +53,7 @@ if conf.get('HAVE_GLIB', 0) == 1
|
||||||
link_with: [libharfbuzz],
|
link_with: [libharfbuzz],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
meson.override_find_program('hb-ot-shape-closure', hb_ot_shape_closure)
|
||||||
else
|
else
|
||||||
# Disable tests that use this
|
# Disable tests that use this
|
||||||
hb_shape = disabler()
|
hb_shape = disabler()
|
||||||
|
|
Loading…
Reference in New Issue