2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 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'
|
|
|
|
|
2021-02-05 08:48:47 +00:00
|
|
|
allow_experimental_apis = true
|
2021-01-28 17:08:59 +00:00
|
|
|
librt = cc.find_library('rt', required: false)
|
|
|
|
if not librt.found()
|
|
|
|
build = false
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
|
|
|
ext_deps += librt
|
2019-06-25 11:12:58 +00:00
|
|
|
deps += 'timer'
|
|
|
|
sources = files(
|
|
|
|
'main.c', 'shm.c'
|
|
|
|
)
|