examples: reduce indentation in build files
[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 if not dpdk_conf.has('RTE_LIB_POWER')
10         build = false
11         subdir_done()
12 endif
13
14 deps += ['power']
15
16 sources = files(
17         'main.c',
18         'parse.c',
19         'vm_power_cli_guest.c',
20 )
21
22 allow_experimental_apis = true
23
24 opt_dep = cc.find_library('virt', required : false)
25 build = opt_dep.found()
26 ext_deps += opt_dep