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)pull/3668/head
parent
bf2e21ec0e
commit
aa27f7cec9
5 changed files with 22 additions and 2 deletions
@ -0,0 +1,4 @@ |
|||||||
|
## Windows resource files dependencies |
||||||
|
|
||||||
|
The `compile_resources()` function of the `windows` module now takes |
||||||
|
the `depend_files:` keyword. |
@ -1,4 +1,5 @@ |
|||||||
win = import('windows') |
win = import('windows') |
||||||
|
|
||||||
res = win.compile_resources('myres.rc', |
res = win.compile_resources('myres.rc', |
||||||
|
depend_files: 'sample.ico', |
||||||
include_directories : inc) |
include_directories : inc) |
||||||
|
Loading…
Reference in new issue