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.
17 lines
604 B
17 lines
604 B
6 years ago
|
## Can link against custom targets
|
||
|
|
||
|
The output of `custom_target` can be used in `link_with` and
|
||
|
`link_whole` keyword arguments. This is useful for integrating custom
|
||
|
code generator steps, but note that there are many limitations:
|
||
|
|
||
|
- Meson can not know about link dependencies of the custom target. If
|
||
|
the target requires further link libraries, you need to add them manually
|
||
|
|
||
|
- The user is responsible for ensuring that the code produced by
|
||
|
different toolchains are compatible.
|
||
|
|
||
|
- The custom target can only have one output file.
|
||
|
|
||
|
- The output file must have the correct file name extension.
|
||
|
|