From 01569fee2e8130b3ac54659c119e73180d3dafee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 27 Jul 2019 17:25:38 +0400 Subject: Add depfile to configure_file() In qemu, minikconf generates a depfile that meson could use to automatically reconfigure on dependency change. Note: someone clever can perhaps find a way to express this with a ninja rule & depfile=. I didn't manage, so I wrote a simple depfile parser. --- docs/markdown/snippets/configure_file_enhancements.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/configure_file_enhancements.md b/docs/markdown/snippets/configure_file_enhancements.md index 35a64b4..7fee7b2 100644 --- a/docs/markdown/snippets/configure_file_enhancements.md +++ b/docs/markdown/snippets/configure_file_enhancements.md @@ -1,3 +1,6 @@ ## Enhancements to `configure_file()` `input:` now accepts multiple input file names for `command:`-configured file. + +`depfile:` keyword argument is now accepted. The dependency file can +list all the additional files the configure target depends on. -- cgit v1.1