~bl4ckb0ne/wxrc

e9a191f5652d1bcf3b7355b213f5cdc5b02e4051 — Simon Zeni 1 year, 3 months ago b31849c
meson: move example deps into example meson file
2 files changed, 6 insertions(+), 4 deletions(-)

M example/meson.build
M meson.build
M example/meson.build => example/meson.build +6 -0
@@ 1,3 1,9 @@
cairo = dependency('cairo')
pango = dependency('pango')
pangocairo = dependency('pangocairo')

microui = subproject('microui', required: true).get_variable('microui')

examples = {
	'cube': {
		'src': ['cube.c', 'xr-buffer.c', 'gl.c'],

M meson.build => meson.build +0 -4
@@ 43,15 43,12 @@ add_project_arguments(cc.get_supported_arguments([

math = cc.find_library('m', required : false)

cairo = dependency('cairo')
cglm = dependency('cglm', fallback : 'cglm')
egl = dependency('egl')
gbm = dependency('gbm')
glesv2 = dependency('glesv2')
libdrm = dependency('libdrm')
openxr = dependency('openxr')
pango = dependency('pango')
pangocairo = dependency('pangocairo')
xkbcommon = dependency('xkbcommon')
wayland_client = dependency('wayland-client')
wayland_egl = dependency('wayland-egl')


@@ 63,7 60,6 @@ assert(cc.check_header('GLES3/gl32.h'))

# Vendoring
scfg = subproject('libscfg', required: true).get_variable('scfg')
microui = subproject('microui', required: true).get_variable('microui')
cgltf = subproject('cgltf', required: true).get_variable('cgltf')

# Only required when profiling