e119eebabb3be2ec83bf6d5ab6caea5bd0a755fb
[dpdk.git] / examples / kni / meson.build
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
9 # this app can be built if-and-only-if KNI library is buildable
10 build = dpdk_conf.has('RTE_LIB_KNI')
11 if not build
12         subdir_done()
13 endif
14
15 deps += ['kni', 'bus_pci']
16 sources = files(
17         'main.c'
18 )
19 allow_experimental_apis = true