Because `CustomTargetIndex`es don't have a `subdir` property, but they do implement the `get_subdir()` methodpull/12302/head
parent
f4ea89be60
commit
5421c24ea0
7 changed files with 22 additions and 7 deletions
@ -0,0 +1,8 @@ |
||||
## vs_module_defs keyword now supports indexes of custom_target |
||||
|
||||
This means you can do something like: |
||||
```meson |
||||
defs = custom_target('generate_module_defs', ...) |
||||
shared_library('lib1', vs_module_defs : defs[0]) |
||||
shared_library('lib2', vs_module_defs : defs[2]) |
||||
``` |
Loading…
Reference in new issue