openAVproductions / openAV-Ctlra

A plain C library to program with hardware controllers.
BSD 3-Clause "New" or "Revised" License
79 stars 16 forks source link

meson: refactor building of examples #75

Closed harryhaaren closed 6 years ago

harryhaaren commented 6 years ago

This takes the comma-seperated-list approach and greatly simplifies and cleans up the build config. Disabler() objects allow disabling examples based on which dependencies are available - again simplifying the build.

To compile all examples, run:

meson configure -Dexamples=simple,daemon,avtka_ctlra,select_device,sequencer,virt_dev,device_test,tcc_script,loopa,vegas_mode

Signed-off-by: Harry van Haaren harryhaaren@gmail.com