This template generates a source file containing the native type definitions for all IDL types defined in the .gen input file. By default, types are generated for the codels language (defined in the .gen file) for the first available component. This can be changed with the -l option. The generated mappings are output on stdout.
Additionnaly, a dependency file suitable for inclusion in a Makefile
can
be generated. This is controlled by the -MD
, -MF
and -MT
options. These options are documented herafter, and follow the same syntax
as the same options of gcc
.
user@host:~$ genom3 mappings demo.gen > demo_c_types.h user@host:~$ genom3 mappings -l c++ demo.gen > demo_cxx_types.h
Generate mappings for language 'lang'
Generate codel signatures in addition to types mappings
Generate dependency information (in out.d)
Generate dependency in 'file' instead of out.d
Change the target of the dependency rules
Print usage summary (this text)