diff options
Diffstat (limited to 'examples/meson.build')
-rw-r--r-- | examples/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/meson.build b/examples/meson.build new file mode 100644 index 00000000..ebcec9b8 --- /dev/null +++ b/examples/meson.build @@ -0,0 +1,22 @@ +examples = [] + +if pango_cairo_backends.contains('png') + examples += [ + 'cairoshape', + 'cairosimple', + 'cairotwisted', + ] +endif + +examples_deps = [ libpango_dep, libpangocairo_dep, ] + +if pango_font_backends.contains('freetype') + examples_deps += libpangoft2_dep +endif + +foreach e: examples + executable(e, '@0@.c'.format(e), + dependencies: examples_deps + pango_deps, + include_directories: root_inc, + install: false) +endforeach |