xref: /dpdk/examples/vm_power_manager/guest_cli/meson.build (revision b462f2737eb08b07b84da4204fbd1c9b9ba00b2d)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2018 Intel Corporation
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
9deps += ['power', 'power_kvm_vm']
10
11sources = files(
12        'main.c',
13        'parse.c',
14        'vm_power_cli_guest.c',
15)
16
17allow_experimental_apis = true
18
19opt_dep = cc.find_library('virt', required : false)
20build = opt_dep.found()
21ext_deps += opt_dep
22