diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2018-06-08 08:06:27 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-08 12:36:50 +0000 |
commit | 6461d4cda2b12ad2d41592d14b72548d1d225b29 (patch) | |
tree | db11887246ad7b1db20d12481fbe6e42780b8d79 /docs/markdown/snippets | |
parent | 375dcd546a315653f470b74f99fdd103d6b30373 (diff) | |
download | meson-6461d4cda2b12ad2d41592d14b72548d1d225b29.zip meson-6461d4cda2b12ad2d41592d14b72548d1d225b29.tar.gz meson-6461d4cda2b12ad2d41592d14b72548d1d225b29.tar.bz2 |
docs: Add release notes for new gnome.gdbus_codegen keywords
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/gdbus_codegen_options.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/snippets/gdbus_codegen_options.md b/docs/markdown/snippets/gdbus_codegen_options.md new file mode 100644 index 0000000..d3dd84c --- /dev/null +++ b/docs/markdown/snippets/gdbus_codegen_options.md @@ -0,0 +1,14 @@ +## New options to gnome.gdbus_codegen + +You can now pass additional arguments to gdbus-codegen using the `extra_args` +keyword. This is the same for the other gnome function calls. + +Meson now automatically adds autocleanup support to the generated code. This +can be modified by setting the autocleanup keyword. + +For example: + + sources += gnome.gdbus_codegen('com.mesonbuild.Test', + 'com.mesonbuild.Test.xml', + autocleanup : 'none', + extra_args : ['--pragma-once']) |