diff options
author | Mark Bolhuis <mark@bolhuis.dev> | 2022-09-07 01:00:49 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-09-07 08:43:29 -0400 |
commit | a289e5416b88f0f24ae668a6cc921c28b72ceae7 (patch) | |
tree | 46443d6bc2063ee795587c99a77f7b0a0df3dc9a | |
parent | b6235a2e42deb417f13cb9411e0c6feb2a4ab995 (diff) | |
download | meson-a289e5416b88f0f24ae668a6cc921c28b72ceae7.zip meson-a289e5416b88f0f24ae668a6cc921c28b72ceae7.tar.gz meson-a289e5416b88f0f24ae668a6cc921c28b72ceae7.tar.bz2 |
modules/wayland: Change default value of include_core_only to true
The use of wayland-<client|server>.h is discouraged, therefore
change the default value of include_core_only to true.
-rw-r--r-- | docs/markdown/Wayland-module.md | 2 | ||||
-rw-r--r-- | mesonbuild/modules/wayland.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Wayland-module.md b/docs/markdown/Wayland-module.md index ce2b7a6..6793293 100644 --- a/docs/markdown/Wayland-module.md +++ b/docs/markdown/Wayland-module.md @@ -50,7 +50,7 @@ generated = wl_mod.scan_xml( client : true, server : true, public : false, - include_core_only : false, + include_core_only : true, ) ``` This function accepts one or more arguments of either string or file type. diff --git a/mesonbuild/modules/wayland.py b/mesonbuild/modules/wayland.py index 0cbc4b7..99f71d0 100644 --- a/mesonbuild/modules/wayland.py +++ b/mesonbuild/modules/wayland.py @@ -66,7 +66,7 @@ class WaylandModule(ExtensionModule): KwargInfo('public', bool, default=False), KwargInfo('client', bool, default=True), KwargInfo('server', bool, default=False), - KwargInfo('include_core_only', bool, default=False, since='0.64.0'), + KwargInfo('include_core_only', bool, default=True, since='0.64.0'), ) def scan_xml(self, state: ModuleState, args: T.Tuple[T.List[FileOrString]], kwargs: ScanXML) -> ModuleReturnValue: if self.scanner_bin is None: |