root_path¶
Required: No
Type: String
Condition: No
By default, all paths specified in a component are relative to their parent, meaning that paths in components that are part of an SDK or SDK extension are relative to the root of the SDK or SDK extension.
The root_path
key can be used to append a prefix to all paths specified in the component.
The key component_root_path
is accepted as an alias for root_path
for backwards compatibility.
The following example references a file <sdk_root>/foo/bar/baz.c
if the component is part of an SDK, and <extension_root>/foo/bar/baz.c
if the component is part of an SDK extension. Note that the location of the .slcc file itself is does not come into play.
1 2 3 |
|
SDK:
1 2 3 4 5 6 7 |
|