xref: /dpdk/examples/vhost_blk/meson.build (revision 68a03efeed657e6e05f281479b33b51102797e15)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Intel Corporation
3
4# meson file, for building this example as part of a main DPDK build.
5#
6# To build this example as a standalone application with an already-installed
7# DPDK instance, use 'make'
8
9if not is_linux
10	build = false
11	subdir_done()
12endif
13
14if not cc.has_header('linux/virtio_blk.h')
15	build = false
16	subdir_done()
17endif
18
19deps += 'vhost'
20allow_experimental_apis = true
21sources = files(
22	'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c'
23)
24