| Syntax: | Default: |
| file(genAsm[, yes]) file(genAsm, no) |
file(genAsm, no) |
This option determines whether the C compiler generates an assembler listing file.
By default, no assembler listing is produced.
If you build with file(genAsm), an assembly listing is produced for every source to which the option applies. Each listing file has the same base name as the source file and the extension .asm (on OS/2 and Windows NT platforms) or .s (on AIX).
![]()
On OS/2 and Windows NT
platforms, you can specify file names for assembly listing files
by also using the option file(asmFileName,
fileName). You can also get an assember listing
that includes machine code, by building with file(genAsmWithCode).
You can use the output file as an aid for debugging. It may not be valid input to an assembler.
This option is implicitly set to no when file(syntaxOnly) or pp(preprocessOnly) are in effect.
![]()
C Compilation
Configuration Files
