genAsmWithCode C File Option (OS/2, Windows)

Syntax: Default:
file(genAsmWithCode[ ,yes])
file(genAsmWithCode, pathName)
file(genAsmWithCode, no)
file(genAsmWithCode, no)

The C compiler can generate an assembler listing file that includes machine code as comments. This option determines whether the such a file is created, and optionally names the file.

If you want an assembler listing, but not the machine code, you should build with file(genAsm).

By default no assembler listing is produced.

If you specify file(genAsmWithCode), an assembly listing is produced for every source to which the option applies.  If you do not supply a file name, the listing file has the same base name as the source file and the extension .cod.

When file(genAsmWithCode, pathName) is specified, pathName can be the relative or absolute path name of either a file or a directory.  If you supply a file name,  the name of the assembler listing file created will be pathName.  In this case, make sure the option applies to only one source file. Otherwise the assembler listing is overwritten by every file compiled after the first source because the same output file name is used for each source.   If you supply a directory name, the files created are placed into that directory.

This option is implicitly set to no when file(syntaxOnly) or pp(preprocessOnly) are in effect.



C Compilation
Configuration Files


Set Build Options
Build


C File Options