diff options
-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']) |