xref: /dpdk/examples/vhost/meson.build (revision 53d3f4778c1dbdebbef6c5e94e772b24f0998d35)
16c9457c2SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
26c9457c2SBruce Richardson# Copyright(c) 2017 Intel Corporation
389f0711fSBruce Richardson
489f0711fSBruce Richardson# meson file, for building this example as part of a main DPDK build.
589f0711fSBruce Richardson#
689f0711fSBruce Richardson# To build this example as a standalone application with an already-installed
789f0711fSBruce Richardson# DPDK instance, use 'make'
889f0711fSBruce Richardson
9adf93ca5SBruce Richardsonif not is_linux
104f49c9f5SBruce Richardson    build = false
113495a68fSBruce Richardson    subdir_done()
124f49c9f5SBruce Richardsonendif
133495a68fSBruce Richardson
1489f0711fSBruce Richardsondeps += 'vhost'
15*53d3f477SJiayu Hudeps += 'dmadev'
168728ccf3SThomas Monjalonallow_experimental_apis = true
1789f0711fSBruce Richardsonsources = files(
18cf59165dSBruce Richardson        'main.c',
19cf59165dSBruce Richardson        'virtio_net.c',
2089f0711fSBruce Richardson)
21