f-stack/dpdk/examples/vm_power_manager/guest_cli/meson.build

25 lines
562 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'
2019-11-23 08:13:38 +00:00
if not dpdk_conf.has('RTE_LIBRTE_POWER')
build = false
subdir_done()
endif
2019-06-25 11:12:58 +00:00
deps += ['power']
sources = files(
'main.c', 'parse.c', 'vm_power_cli_guest.c'
)
2020-06-18 16:55:50 +00:00
allow_experimental_apis = true
2019-06-25 11:12:58 +00:00
opt_dep = cc.find_library('virt', required : false)
build = opt_dep.found()
ext_deps += opt_dep