aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-05-15 09:05:51 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-01 20:21:09 +0000
commitaa27f7cec95fcd02cb5384b7bf1022bad2b4cab0 (patch)
tree06bfab4c13e7e8a7729a946588f62b255ca9d478 /docs
parentbf2e21ec0edeaf8e86ff6fd46c2c2fcfcc4713ed (diff)
downloadmeson-aa27f7cec95fcd02cb5384b7bf1022bad2b4cab0.zip
meson-aa27f7cec95fcd02cb5384b7bf1022bad2b4cab0.tar.gz
meson-aa27f7cec95fcd02cb5384b7bf1022bad2b4cab0.tar.bz2
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)
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Windows-module.md5
-rw-r--r--docs/markdown/snippets/windows-resources-dependencies.md4
2 files changed, 8 insertions, 1 deletions
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.