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 9# Setting the name here because the default name will conflict with the 10# vm_power_manager app because of the way the directories are parsed. 11name = 'guest_cli' 12 13if not dpdk_conf.has('RTE_LIBRTE_POWER') 14 build = false 15 subdir_done() 16endif 17 18deps += ['power'] 19 20sources = files( 21 'main.c', 'parse.c', 'vm_power_cli_guest.c' 22) 23 24opt_dep = cc.find_library('virt', required : false) 25build = opt_dep.found() 26ext_deps += opt_dep 27