This documentation is archived and is not being maintained.

Compiler Options

CL.exe is a 32-bit tool that controls the Microsoft C and C++ compilers and linker. The compilers produce Common Object File Format (COFF) object (.obj) files. The linker produces executable (.exe) files or dynamic-link libraries (DLLs).

Note that all compiler options are case sensitive.

To compile without linking, use /c.

Finding an Option

To find a particular compiler option, see one of the following lists:

Specifying Options

For information on specifying options, see:

Related Build Tools

Use NMAKE to build your output file.

Use BSCMAKE to support class browsing.

Linker options also affect how your program is built.

See Also

C/C++ Building Reference | Setting Compiler Options