Skip to content

template_file

Required: No
Type: List of template files
Condition: Yes

List of Jinja2 template files. Template files are generated into the autogen directory in the project upon project generation. If the filename ends with .jinja or .jinja2, the extension is stripped.

See the page on template files for more details.

Key Required Type Description
path Yes String Path to template file
condition No List of features The template file is added if all the given features are present
unless No List of features The template file is added unless any of the given features are present
1
2
template_file:
  - path: path/to/my_file.c.jinja
Back to top