New upstream version 18.11-rc1
[deb_dpdk.git] / examples / vm_power_manager / guest_cli / meson.build
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.
11 name = 'guest_cli'
12
13 deps += ['power']
14
15 sources = files(
16         'main.c', 'parse.c', 'vm_power_cli_guest.c'
17 )
18
19 opt_dep = cc.find_library('virt', required : false)
20 build = opt_dep.found()
21 ext_deps += opt_dep