build: add a configure switch for building examples
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 7 Dec 2020 19:38:30 +0000 (20:38 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Dec 2020 14:57:12 +0000 (15:57 +0100)
commit5e9e7223a3633ee82b557d21b1f18aa15becd450
tree3912add5d5311469e3636943302af03c7d0270fb
parente6f20c261d810954d4a8dbac6962cf1cc49feac0
build: add a configure switch for building examples

Example code for bindings is currently always built if bindings are
enabled. Make it conditional with a new configure switch.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
bindings/cxx/Makefile.am
bindings/python/Makefile.am
configure.ac