diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-11-15 22:07:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 22:07:03 +0200 |
commit | cad109607d441ad7a2a5ae83aae3a3159d6bfeda (patch) | |
tree | 0b00736bb81521d7b586aa8e19f64a75ce8c386c /docs | |
parent | ee5428d64ffee9cbe3e66c7f2a72732ed211aaab (diff) | |
parent | ef52e60936665c982cd17a4a17c2045b445d8e6d (diff) | |
download | meson-cad109607d441ad7a2a5ae83aae3a3159d6bfeda.zip meson-cad109607d441ad7a2a5ae83aae3a3159d6bfeda.tar.gz meson-cad109607d441ad7a2a5ae83aae3a3159d6bfeda.tar.bz2 |
Merge pull request #9520 from dcbaker/submit/gnome-first-typed-kwargs
Add typed_kwargs to some of the gnome module functions
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Gnome-module.md | 13 |
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 |