From 93c988b45384cb141b592995eebeba954bd36cb6 Mon Sep 17 00:00:00 2001 From: Michael James Gratton Date: Tue, 12 Dec 2017 17:51:31 +1100 Subject: Enable re-compilation of GNOME gschema files if they have changed. * mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the depend_files kwarg. * docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only other one that is permitted). --- docs/markdown/Gnome-module.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 738e2a9..b33009d 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -196,6 +196,13 @@ When called, this method will compile the gschemas in the current directory. Note that this is not for installing schemas and is only useful when running the application locally for example during tests. +* `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 +* `depend_files`: files ([`string`](#string-object), + [`files()`](#files), or [`configure_file()`](#configure_file)) of + schema source XML files that should trigger a re-compile if changed. + ### gnome.gdbus_codegen() Compiles the given XML schema into gdbus source code. Takes two -- cgit v1.1