examples/power: support meson/ninja build
authorDavid Hunt <david.hunt@intel.com>
Wed, 17 Oct 2018 13:05:33 +0000 (14:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 08:51:37 +0000 (10:51 +0200)
commite0130788576fb85039f5c491b82575a0190f5d4b
tree8642f5676218aaafd499731f87d0e63dfee13d41
parentce4a276644ec232ba96105e7fcbee876ebb107d3
examples/power: support meson/ninja build

Add meson.build in vm_power_manager and the guest_cli subdirectory.
Building can be achieved by going to the build directory, and using

meson configure -Dexamples=vm_power_manager,vm_power_manager/guest_cli

Then, when ninja is invoked, it will build dpdk-vm_power_manger and
dpdk-guest_cli

Work still needs to be done on the meson build system to handles the case
where the target list of example apps is defined as 'all'. That will come
in a future patch.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
doc/guides/sample_app_ug/vm_power_management.rst
examples/vm_power_manager/guest_cli/meson.build [new file with mode: 0644]
examples/vm_power_manager/meson.build