meson: replace libmesa_util with idep_mesautil

This automates the include_directories and dependencies tracking so that
all users of libmesa_util don't need to add them manually.

Next commit will remove the ones that were only added for that reason.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Eric Anholt <eric@anholt.net>
Tested-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Eric Engestrom
2019-07-22 14:50:15 +01:00
committed by Eric Engestrom
parent 8ddb38209d
commit d2d85b950d
51 changed files with 124 additions and 125 deletions

View File

@@ -63,9 +63,8 @@ subdir('nir')
spirv2nir = executable(
'spirv2nir',
files('spirv/spirv2nir.c'),
dependencies : [dep_m, dep_thread, idep_nir],
dependencies : [dep_m, dep_thread, idep_nir, idep_mesautil],
include_directories : [inc_common, inc_nir, include_directories('spirv')],
link_with : libmesa_util,
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
build_by_default : with_tools.contains('nir'),
install : with_tools.contains('nir'),