dune_instance_beginΒΆ

Prepare for a list of instances.

dune_instance_begin(
    [FILES file_spec1 [file_spec2 ...]]
)
FILES

List of template files with embedded templates.

Read the given template files, and extract embedded templates. Run the generator on the remaining file content with the variables currently in effect.

Note

A matching dune_instance_end() is required. Since information is communicated through variables in the callers scope, dune_instance_begin()/dune_instance_end() blocks may not be nested inside the same scope. Since a function is a new scope, it may safely contain a dune_instance_begin()/dune_instance_end() block, even if it is itself called from one.