mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 12:14:15 +08:00
52469901fc
Multiple meson build scripts improvements including: * Bump meson requirement to 0.40.1 (0.40 already required) * Declare a dependency object for main library * Stop using add_global_arguments() * Various minor style fixes
35 lines
1.0 KiB
Meson
35 lines
1.0 KiB
Meson
examples = [ 'passthrough', 'passthrough_fh',
|
|
'hello', 'hello_ll', 'printcap',
|
|
'ioctl_client', 'poll_client', 'ioctl',
|
|
'cuse', 'cuse_client' ]
|
|
|
|
if not platform.endswith('bsd') and platform != 'dragonfly'
|
|
examples += 'passthrough_ll'
|
|
|
|
# According to Conrad Meyer <cem@freebsd.org>, FreeBSD doesn't
|
|
# support mounting files, This is enforced in vfs_domount_first()
|
|
# with the v_type != VDIR check.
|
|
examples += [ 'null' ]
|
|
endif
|
|
|
|
threaded_examples = [ 'notify_inval_inode',
|
|
'invalidate_path',
|
|
'notify_store_retrieve',
|
|
'notify_inval_entry',
|
|
'poll' ]
|
|
|
|
foreach ex : examples
|
|
executable(ex, ex + '.c',
|
|
dependencies: [ libfuse_dep ],
|
|
install: false)
|
|
endforeach
|
|
|
|
|
|
foreach ex : threaded_examples
|
|
executable(ex, ex + '.c',
|
|
dependencies: [ thread_dep, libfuse_dep ],
|
|
install: false)
|
|
endforeach
|
|
|
|
# TODO: Link passthrough_fh with ulockmgr if available
|