summaryrefslogtreecommitdiff
path: root/glib/glibmm
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-03-02 19:38:22 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-03-02 19:38:22 +0100
commit1a5af7b9825eb19a44f84877cbc38fdf5c70caa7 (patch)
tree54e25f7fbd7e0d42bde1f0d51bb397528c8753e9 /glib/glibmm
parentec9b9bc3f5be6ec5ce174aaa8468f43d1d5c90c9 (diff)
downloadglibmm-1a5af7b9825eb19a44f84877cbc38fdf5c70caa7.tar.gz
Meson build: Add some dependencies when generating source files
wrap_init.cc shall be rebuilt when generate_wrap_init.pl has been rebuilt. Generated .h and .cc files shall be rebuilt when gmmproc has been rebuilt.
Diffstat (limited to 'glib/glibmm')
-rw-r--r--glib/glibmm/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/glib/glibmm/meson.build b/glib/glibmm/meson.build
index a21ef139..7797166a 100644
--- a/glib/glibmm/meson.build
+++ b/glib/glibmm/meson.build
@@ -3,7 +3,7 @@
# Input: glibmm_build_dep, glibmm_pcname, maintainer_mode, project_source_root,
# generate_binding_py, handle_built_files_py, m4_files, pm_files,
# glibmm_libversion, install_includedir, python3, glibmm_rc, gmmproc_dir,
-# is_host_windows, gendef
+# is_host_windows, gendef, gmmproc, generate_wrap_init_pl
# Output: glibmm_hg_ccg_basenames, glibmm_extra_h_files, built_files_root,
# glibmm_built_h_file_targets, glibmm_dep
@@ -159,6 +159,7 @@ if maintainer_mode
'Glib', # namespace
'@INPUT@',
],
+ depend_files: generate_wrap_init_pl,
build_by_default: maintainer_mode,
install: false,
)
@@ -180,7 +181,7 @@ if maintainer_mode
meson.current_source_dir() / '..' / 'src',
project_source_root / 'tools' / 'm4',
],
- depend_files: glibmm_defs_files + m4_files + pm_files,
+ depend_files: glibmm_defs_files + m4_files + [gmmproc] + pm_files,
build_by_default: maintainer_mode,
install: false,
)