Struct lcm_gen::LcmGen [] [src]

pub struct LcmGen { /* fields omitted */ }

This struct is used to configure options for, and then run, the lcm-gen command.

Methods

impl LcmGen
[src]

Constructs a new lcm-gen command.

Sets the output directory. The default is env::var("OUT_DIR").

Adds a file to the list of arguments to pass to lcm-gen

Recursively adds all the .lcm files from a directory.

Runs lcm-gen --rust --rust-path={} on each .lcm file that was added.