summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-12 10:53:22 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-12 10:53:22 +0300
commit5206933399775e5ff46baefbbb3a776c2a9bb84c (patch)
treee7549216ac626c1f3ac22345f79fbf80cc5a90fb /meson.build
parent881fb6cb1d64868132287bd9637f4ae1cbc3504c (diff)
feat: add type-safe native platform headers and portable drag support
- Add include/yasl/native/{wayland,cocoa,x11}.h with type-safe handle accessors. - Unify drag-and-drop and window carry support across Wayland, X11, and Cocoa. - Preserve full ABI compatibility for capability flags. - Install native headers conditionally based on enabled backend. - Include missing tablet example and backend test suites.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c258765..6673240 100644
--- a/meson.build
+++ b/meson.build
@@ -83,6 +83,16 @@ install_headers(
subdir: 'yasl',
)
+if has_wayland
+ install_headers('include/yasl/native/wayland.h', subdir: 'yasl/native')
+endif
+if has_x11
+ install_headers('include/yasl/native/x11.h', subdir: 'yasl/native')
+endif
+if has_cocoa
+ install_headers('include/yasl/native/cocoa.h', subdir: 'yasl/native')
+endif
+
pkg = import('pkgconfig')
pkg.generate(
yasl_lib.get_shared_lib(),