/cmi

Specifies whether compiled module information is generated when compiling objects with a command line switch.

/cmi= 1 | 0

Parameters

Value

Description

1

Enable generation of compiled module information. This is the default behavior in Uniface 10.

0

Disable generation of compiled module information. This is the default behavior in Uniface 9.7.

Description

Compiled module information (CMI) provides summary information about the ProcScript modules that are compiled in a component, and where they are defined (for example in the component itself, or in a modeled entity, or IncludeScript).

In Uniface 10, this information is generated by default and is then visible in the Compiled Module Inspector in the Uniface IDE.

In Uniface 9, this information is not generated by default, but it can be useful before migrating to Uniface 10. The Uniface 9 CMI data enables you to compare and review possible differences between Uniface 10 and Uniface 9 compiled output.

Such differences can occur because ProcScript module inheritance has changed in Uniface 10. ProcScript entries that are compiled in Uniface 9 may be excluded in Uniface 10, or vice versa. Inheritance and Compilation of Migrated Entries

When compiling from the command line, you can use the /cmi sub-switch to control whether or not CMI information is generated for the compiled objects. If /cmi is specified, Uniface ignores the default behavior and the $GENERATE_CMI assignment setting (if present).

The $GENERATE_CMI setting can be used to define the default behavior when compiling objects from the command line.

Related Topics