From 7a15214a69891411df6f55a74851d502ef0b24c5 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 15 May 2018 15:13:06 +0100 Subject: Have the windows.resource_compiler() preprocesor write a depfile When using binutils's windres, we can instruct it to invoke the preprocessor in such a way that it writes a depfile, so that dependencies on #included files are automatically tracked. Not implemented for MSVC tools, so skip testing it in that case. --- docs/markdown/snippets/windows-resources-dependencies.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/windows-resources-dependencies.md b/docs/markdown/snippets/windows-resources-dependencies.md index f446ea5..e30e18c 100644 --- a/docs/markdown/snippets/windows-resources-dependencies.md +++ b/docs/markdown/snippets/windows-resources-dependencies.md @@ -2,3 +2,6 @@ The `compile_resources()` function of the `windows` module now takes the `depend_files:` keyword. + +When using binutils's `windres`, dependencies on files `#include`'d by the +preprocessor are now automatically tracked. -- cgit v1.1