examples: allow building all as part of meson build
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 29 Mar 2018 13:54:34 +0000 (14:54 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 17 Apr 2018 14:09:43 +0000 (16:09 +0200)
commit038e5ecc76578a9ca54cc7f8e211b5253093287c
treebc0331b5ce7e5ff93a98f4fa841f806fa578cea5
parent4f49c9f5be981b85ea8b29928c96ff4f2e02e261
examples: allow building all as part of meson build

To test building all relevant example applications as part of a build, we
add support for the "all" keyword to be passed to the "examples" build
option. Since not all examples can actually be built on all systems,
we also add support for the "build" option inside the sub-dirs. However,
in case where "all" is not used, and a particular example is requested
to be built, we will error out if building the requested app is not
possible.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/meson.build