aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorMark Bolhuis <mark@bolhuis.dev>2022-09-05 22:14:40 +0100
committerXavier Claessens <xclaesse@gmail.com>2022-09-06 18:08:39 -0400
commit25f838fd3328273733976b16775142a58e3db275 (patch)
tree594f0cfc7fa465b4307c15e702aacff603e3b49e /docs/markdown/snippets
parenta4d54422077a6fb7fe7af072e0563b58e602d4ae (diff)
downloadmeson-25f838fd3328273733976b16775142a58e3db275.zip
meson-25f838fd3328273733976b16775142a58e3db275.tar.gz
meson-25f838fd3328273733976b16775142a58e3db275.tar.bz2
modules/wayland: Support --include-core-only
wayland-scanner can generate header files that only include wayland-client-core.h using a flag. Add a core_only option to scan_xml to support this use case.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/wayland_scan_xml_core_only_arg.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md b/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md
new file mode 100644
index 0000000..59f4e1b
--- /dev/null
+++ b/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md
@@ -0,0 +1,5 @@
+## Added core_only arg to wayland.scan_xml.
+
+The `scan_xml` function from the wayland module now has an optional bool
+argument `core_only`, so that headers generated by wayland-scanner now
+only include `wayland-client-core.h` instead of `wayland-client.h`.