summaryrefslogtreecommitdiff
path: root/src/platform/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/meson.build')
-rw-r--r--src/platform/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/platform/meson.build b/src/platform/meson.build
new file mode 100644
index 0000000..892969f
--- /dev/null
+++ b/src/platform/meson.build
@@ -0,0 +1,15 @@
+# Select OS support independently of the windowing backends. A future Win32
+# port supplies its own loop and yasl_platform_sync.h here.
+if system == 'linux' or system == 'darwin'
+ subdir('posix')
+endif
+
+if has_wayland
+ subdir('wayland')
+endif
+if has_x11
+ subdir('x11')
+endif
+if has_cocoa
+ subdir('cocoa')
+endif