omniidl -V (return code: 0)
omniidl version 1.0
omniidl -h (return code: 0)
Usage: omniidl -b<back_end> [flags] file1 file2 ...
The supported flags are:
-Dname[=value] Define name for preprocessor
-Uname Undefine name for preprocessor
-Idir Include dir in search path for preprocessor
-E Run preprocessor only, print on stdout
-Ycmd Set command for the preprocessor
-N Do not run preprocessor
-P Add defines relevant to platform dependencies (internal use)
-T Use a temporary file, not a pipe, for preprocessor output
-Wparg[,arg...] Send args to the preprocessor
-bback_end Select a back-end to be used. More than one permitted
-Wbarg[,arg...] Send args to the back-end
-nf Do not warn about unresolved forward declarations
-nc Do not treat identifiers differing only in case as an error
-k Comments after declarations are kept for the back-ends
-K Comments before declarations are kept for the back-ends
-Cdir Change directory to dir before writing output
-d Dump the parsed IDL then exit
-i Enter interactive mode after parsing the IDL
-pdir Path to omniidl back-ends ($TOP/lib/python)
-V Print version info then exit
-u Print this usage message and exit
-v Trace compilation stages
You must select a target back-end with -b. For C++, use -bcxx:
omniidl -bcxx file.idl
To see options specific to C++, use:
omniidl -bcxx -u