aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-07-11 12:00:46 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-07-23 16:30:34 +0100
commitde45352d9d3736da78e47896d4fa5eeb76f561f1 (patch)
tree7044e9a2d1d22f47a0a8831440a7efeb22c9e8ff /docs/markdown
parent99fdb6c19e93eff0219bbea0f789d42215c89d5d (diff)
downloadmeson-de45352d9d3736da78e47896d4fa5eeb76f561f1.zip
meson-de45352d9d3736da78e47896d4fa5eeb76f561f1.tar.gz
meson-de45352d9d3736da78e47896d4fa5eeb76f561f1.tar.bz2
gnome: Support new glib-genmarshal arguments
The glib-genmarshal tool was rewritten in GLib 2.53.3, and now supports more command line arguments, such as: "--pragma-once": emits a "#pragma once" instead of the old header guards when generating the header file "--prototypes": emits the marshallers prototype when generating the source file "-D,-U": defines and undefines pre-processor symbols "--include-header": emits an "#include" directive when generating the source file for the specified header file Meson should take advantage of these new options, as they can be used to replace most of the ad hoc build rules that projects are currently using to implement the same thing. Instead of mapping each option to a named argument, I used the same approach as the compile_resources() and generate_gir() methods; the genmarshal() method now has an 'extra_args' argument that can be used to pass extra arguments to the glib-genmarshal tool.
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions