Skip to main content

The childrenGeneratedFile definition

note

Work in progress.

Purpose

Specify the configuration header file that will be generated for the children of a given component.

Syntax

{
"cdlComponents": {
"<name>": {
...
"childrenGeneratedFile": "<file path>",
...
}
}
}

The value of the childrenGeneratedFile property is a string that contains a file path relative to the build folder.

Default value

If missing, the definition from the parent node is used, first the childrenGeneratedFile then generatedFile.

Description

When the configuration tools generate a build tree, one of the steps is to output each object's configuration data to a header file. Instead of defining a generatedFile for each individual cdlOptions or cdlComponents object, it is recommended to define the file path only once in the parent object. This definition will then be used for all child nodes without a generatedFile.

The name specified in a childrenGeneratedFile property will always be interpreted as relative to the build folder.

Example

TBD

See also

eCos reference