From aa27f7cec95fcd02cb5384b7bf1022bad2b4cab0 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 15 May 2018 09:05:51 +0100 Subject: Add a depend_files: keyword to windows.compile_resources() Expose depend_files: from the custom_target this creates. This is the change suggested in #2815, with tests and documentation added. Fixes #2789 (duplicate #2830) --- docs/markdown/Windows-module.md | 5 ++++- docs/markdown/snippets/windows-resources-dependencies.md | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docs/markdown/snippets/windows-resources-dependencies.md (limited to 'docs') diff --git a/docs/markdown/Windows-module.md b/docs/markdown/Windows-module.md index 1d4b9bf..ba1e34e 100644 --- a/docs/markdown/Windows-module.md +++ b/docs/markdown/Windows-module.md @@ -12,6 +12,9 @@ arguments. Returns an opaque object that you put in the list of sources for the target you want to have the resources in. This method has the following keyword argument. - - `args` lists extra arguments to pass to the resource compiler +- `args` lists extra arguments to pass to the resource compiler +- `depend_files` lists resource files that the resource script depends on + (e.g. bitmap, cursor, font, html, icon, message table, binary data or manifest + files referenced by the resource script) (*since 0.47.0*) - `include_directories` which does the same thing as it does on target declarations: specifies header search directories diff --git a/docs/markdown/snippets/windows-resources-dependencies.md b/docs/markdown/snippets/windows-resources-dependencies.md new file mode 100644 index 0000000..f446ea5 --- /dev/null +++ b/docs/markdown/snippets/windows-resources-dependencies.md @@ -0,0 +1,4 @@ +## Windows resource files dependencies + +The `compile_resources()` function of the `windows` module now takes +the `depend_files:` keyword. -- cgit v1.1