xref: /dpdk/examples/l2fwd-cat/meson.build (revision cf59165dcbadfa2a3401106a263fc8e88143e736)
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
9dd25c80bSBruce Richardsonpqos = cc.find_library('pqos', required: false)
10dd25c80bSBruce Richardsonbuild = pqos.found()
113495a68fSBruce Richardsonif not build
123495a68fSBruce Richardson    subdir_done()
133495a68fSBruce Richardsonendif
143495a68fSBruce Richardson
15dd25c80bSBruce Richardsonext_deps += pqos
1678d44153SSunil Kumar Koriallow_experimental_apis = true
1789f0711fSBruce Richardsoncflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
1889f0711fSBruce Richardsonsources = files(
19*cf59165dSBruce Richardson        'cat.c',
20*cf59165dSBruce Richardson        'l2fwd-cat.c',
2189f0711fSBruce Richardson)
22