xref: /dpdk/examples/multi_process/simple_mp/meson.build (revision 43f062ac3a926e53993b52a3d4333f2de2c6a706)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright 2019 Mellanox Technologies, Ltd
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
9allow_experimental_apis = true
10
11cmd_h = custom_target('commands_hdr',
12        output: 'commands.h',
13        input: files('commands.list'),
14        capture: true,
15        command: [cmdline_gen_cmd, '--context-name=simple_mp_ctx', '@INPUT@']
16)
17
18sources = files(
19        'mp_commands.c',
20        'main.c',
21)
22sources += cmd_h
23