$GENERATE_CMI

Enable or disable generation of compiled module information for components when compiling from the command line. This setting has no effect on compilation within the Uniface IDE.

$GENERATE_CMI {=} {1 | 0 }

Arguments

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.

Defaults

Assignment file: ide.asn
Section: [SETTINGS]
Default value: None

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

The $GENERATE_CMI setting is only applicable when compiling from the command line (for example, with/all, /cpt, or another compilation switch). If the /cmi sub-switch is used with a compilation switch, the $GENERATE_CMI setting is ignored.

Related Topics