library
Required: No
Type: List of libraries
Condition: Yes
List of libraries to link with. Libraries can be system libraries or full paths to archives.
System Library
Key |
Required |
Type |
Description |
system |
Yes |
String |
Name of the system library, such as m or gcc |
condition |
No |
List of features |
The library is added if all the given features are present |
unless |
No |
List of features |
The library is added unless any of the given features are present |
SDK Library
Key |
Required |
Type |
Description |
path |
Yes |
String |
Path to a library in the SDK |
condition |
No |
List of features |
The library is added if all the given features are present |
unless |
No |
List of features |
The library is added unless any of the given features are present |
Example
| library:
- system: m
condition:
- toolchain_gcc
- path: path/to/gcc/armv7m/libfoo.a
condition:
- armv7m
|