aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-04-09 23:53:26 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-12-15 20:16:03 +0000
commit4b50f5b638015556d93771269258e6894b6b757f (patch)
tree6f3a80f02b0102dbb01434d0e49a7ff83dee15aa /examples
parent1c13f7cbe1ebee24c2b62d5ba16f2702882da49a (diff)
Add support for Meson as build system
The Meson build system is being adopted by projects such as GNOME, PulseAudio, GStreamer, VLC, systemd, Mesa, Wayland, X.org, and many others. Having a meson build upstream in tinyalsa would allow for easy use of tinyalsa as a Meson subproject in other projects. https://mesonbuild.com
Diffstat (limited to 'examples')
-rw-r--r--examples/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/meson.build b/examples/meson.build
new file mode 100644
index 0000000..59a48a1
--- /dev/null
+++ b/examples/meson.build
@@ -0,0 +1,8 @@
+examples = ['pcm-readi', 'pcm-writei']
+
+foreach e : examples
+ executable(e, '@0@.c'.format(e),
+ include_directories: tinyalsa_includes,
+ link_with: tinyalsa,
+ install: false)
+endforeach