docs: Add release notes for new gnome.gdbus_codegen keywords

pull/3616/merge
Robert Ancell 7 years ago committed by Nirbheek Chauhan
parent 375dcd546a
commit 6461d4cda2
  1. 14
      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'])
Loading…
Cancel
Save