aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-10-05 12:56:25 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-11-08 12:29:01 -0800
commit6137c21eb6ea3b643f0a5433c804365efdb73e41 (patch)
treec1052f9738edf8f69e75f845074c0279936dd16e /docs
parentfa2affe47c3c48f4761d5d44ee40a33809934442 (diff)
downloadmeson-6137c21eb6ea3b643f0a5433c804365efdb73e41.zip
meson-6137c21eb6ea3b643f0a5433c804365efdb73e41.tar.gz
meson-6137c21eb6ea3b643f0a5433c804365efdb73e41.tar.bz2
modules/gnome: use typed_kwargs for compile_resources
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Gnome-module.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index ccdb1f2..41a8bbd 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -21,6 +21,19 @@ with anything else.
### gnome.compile_resources()
+```
+ gnome.compile_resources(id: string, input_file: string | File,
+ build_by_default: bool = false,
+ c_name: string | None = None,
+ dependencies: [](File, CustomTarget, CustomTargetIndex) = [],
+ export: bool = false,
+ extra_args: []string = [],
+ gresource_bundle: bool = false,
+ install_dir: string | None = None,
+ source_dir: [string] = [],
+ ): (CustomTarget, CustomTarget) | CustomTarget
+```
+
This function compiles resources specified in an XML file into code
that can be embedded inside the main binary. Similar a build target it
takes two positional arguments. The first one is the name of the