xref: /dpdk/examples/vm_power_manager/guest_cli/meson.build (revision b462f2737eb08b07b84da4204fbd1c9b9ba00b2d)
1e0130788SDavid Hunt# SPDX-License-Identifier: BSD-3-Clause
2e0130788SDavid Hunt# Copyright(c) 2018 Intel Corporation
3e0130788SDavid Hunt
4e0130788SDavid Hunt# meson file, for building this example as part of a main DPDK build.
5e0130788SDavid Hunt#
6e0130788SDavid Hunt# To build this example as a standalone application with an already-installed
7e0130788SDavid Hunt# DPDK instance, use 'make'
8e0130788SDavid Hunt
9*b462f273SDavid Marchanddeps += ['power', 'power_kvm_vm']
10e0130788SDavid Hunt
11e0130788SDavid Huntsources = files(
12cf59165dSBruce Richardson        'main.c',
13cf59165dSBruce Richardson        'parse.c',
14cf59165dSBruce Richardson        'vm_power_cli_guest.c',
15e0130788SDavid Hunt)
16e0130788SDavid Hunt
17a21f995bSMarcin Hajkowskiallow_experimental_apis = true
18a21f995bSMarcin Hajkowski
19e0130788SDavid Huntopt_dep = cc.find_library('virt', required : false)
20e0130788SDavid Huntbuild = opt_dep.found()
21e0130788SDavid Huntext_deps += opt_dep
22