f-stack/dpdk/examples/vdpa/meson.build

26 lines
623 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
# meson file, for building this example as part of a main DPDK build.
#
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
2020-06-18 16:55:50 +00:00
if not is_linux
2022-09-06 04:00:10 +00:00
build = false
subdir_done()
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
2019-06-25 11:12:58 +00:00
deps += 'vhost'
allow_experimental_apis = true
sources = files(
2022-09-06 04:00:10 +00:00
'main.c',
2020-06-18 16:55:50 +00:00
)
2025-01-10 11:50:43 +00:00
cmd_h = custom_target('commands_hdr',
output: 'commands.h',
input: files('commands.list'),
capture: true,
command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@']
)
sources += cmd_h