Struct capnpc::CompilerCommand [] [src]

pub struct CompilerCommand { /* fields omitted */ }

A builder object for schema compiler commands.

Methods

impl CompilerCommand
[src]

[src]

Creates a new, empty command.

[src]

Adds a file to be compiled.

[src]

Adds a --src-prefix flag. For all files specified for compilation that start with prefix, removes the prefix when computing output filenames.

[src]

Adds an --import_path flag. Adds dir to the list of directories searched for absolute imports.

[src]

Adds the --no-standard-import flag, indicating that the default import paths of /usr/include and /usr/local/include should not bet included.

[src]

Runs the command.