SMEMIT is used to indicate which emitter programs should be executed. Like the SMINCLUDE environment variable it can consist of a list of items separated by semicolons. Each item designates a particular emitter by the name of the file extension the emitter produces. The syntax is as follows:
SMEMIT=[h;ih;c;xh;xih;xc;def;ir;pdl]
The default values are h and ih. For example:
SET SMEMIT=H;IH;DEF;
indicates that EMITH.EXE, EMITIH.EXE, and EMITDEF.EXE programs should be executed to produce .H, .IH, and .DEF files, respectively. By default all emitted output files are placed in the same directory as the input file. If the SMEMIT environment variable is not defined, the SOM compiler will perform a syntax check of your class definition but no output will be produced.
Note: All command-line modifiers can be set in the environment by changing them to UPPERCASE and preappending SM to them.