aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-04-14 22:35:01 +0300
committerGitHub <noreply@github.com>2018-04-14 22:35:01 +0300
commit2a70327f1d27ef228621e75b7e38354c11df860e (patch)
tree543db4f632acec2756403c10dffaab18e8190236 /docs
parent717f7db67e27fedc4a3eb68bf2b46bf4384997c6 (diff)
parent435cd8c922d45bb95fa5f2fd519b77d24ba8e321 (diff)
downloadmeson-2a70327f1d27ef228621e75b7e38354c11df860e.zip
meson-2a70327f1d27ef228621e75b7e38354c11df860e.tar.gz
meson-2a70327f1d27ef228621e75b7e38354c11df860e.tar.bz2
Merge pull request #2930 from inigomartinez/gdbus-targets
gnome: Split header and code targets in gdbus_codegen()
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Gnome-module.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index ad3715e..3db6cc0 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -235,9 +235,21 @@ files and the second specifies the XML file name.
* `object_manager`: *(Added 0.40.0)* if true generates object manager code
* `annotations`: *(Added 0.43.0)* list of lists of 3 strings for the annotation for `'ELEMENT', 'KEY', 'VALUE'`
* `docbook`: *(Added 0.43.0)* prefix to generate `'PREFIX'-NAME.xml` docbooks
+* `build_by_default`: causes, when set to true, to have this target be
+ built by default, that is, when invoking plain `ninja`, the default
+ value is true for all built target types
+* `install_dir`: (*Added 0.46.0*) location to install the header or
+ bundle depending on previous options
+* `install_header`: (*Added 0.46.0*) if true, install the header file
+
+Starting *0.46.0*, this function returns a list of at least two custom targets
+(in order): one for the source code and one for the header. The list will
+contain a third custom target for the generated docbook files if that keyword
+argument is passed.
-Returns an opaque object containing the source files. Add it to a top
-level target's source list.
+Earlier versions return a single custom target representing all the outputs.
+Generally, you should just add this list of targets to a top level target's
+source list.
Example: