The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
510 B
23 lines
510 B
3 years ago
|
## Windows.compile_resources CustomTarget
|
||
|
|
||
|
Previously the Windows module only accepted CustomTargets with one output, it
|
||
|
now accepts them with more than one output, and creates a windows resource
|
||
|
target for each output. Additionally it now accepts indexes of CustomTargets
|
||
|
|
||
|
```meson
|
||
|
|
||
|
ct = custom_target(
|
||
|
'multiple',
|
||
|
output : ['resource', 'another resource'],
|
||
|
...
|
||
|
)
|
||
|
|
||
|
ct2 = custom_target(
|
||
|
'slice',
|
||
|
output : ['resource', 'not a resource'],
|
||
|
...
|
||
|
)
|
||
|
|
||
|
resources = windows.compile_resources(ct, ct2[0])
|
||
|
```
|