[dpdk-dev] [PATCH v3 6/8] examples/power: add meson/ninja build support

Bruce Richardson bruce.richardson at intel.com
Fri Sep 14 16:01:25 CEST 2018


On Fri, Sep 14, 2018 at 02:54:04PM +0100, David Hunt wrote:
> 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 at intel.com>
> ---
The examples=all limitation only applies to the guest_cli app, because it's
in a subdirectory. That should be possible to manage in a later changeset,
but this is good for now, as it still has the main app buildable with the
test-meson-builds script.

Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list