From 9f96db71252fc66b72c433e2ca0d49e031c6a5fd Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 5 Jan 2017 09:37:00 -0800 Subject: Added experimental support for building with Meson+Ninja --- example/meson.build | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 example/meson.build (limited to 'example/meson.build') diff --git a/example/meson.build b/example/meson.build new file mode 100644 index 0000000..4497288 --- /dev/null +++ b/example/meson.build @@ -0,0 +1,29 @@ +# Attention, emacs, please use -*- mode: python -*- +# (even though this isn't actually Python code) + +examples = [ 'passthrough', 'passthrough_fh', 'null', 'hello', 'hello_ll', + 'ioctl', 'ioctl_client', 'poll_client', + 'passthrough_ll', 'cuse', 'cuse_client' ] + +threaded_examples = [ 'notify_inval_inode', + 'notify_store_retrieve', + 'notify_inval_entry', + 'poll' ] + +foreach ex : examples + executable(ex, ex + '.c', + include_directories: include_dirs, + link_with: [ libfuse ], + install: false) +endforeach + + +foreach ex : threaded_examples + executable(ex, ex + '.c', + include_directories: include_dirs, + link_with: [ libfuse ], + dependencies: thread_dep, + install: false) +endforeach + +# TODO: Link passthrough_fh with ulockmgr if available -- cgit v1.2.3