CmdID

CmdID / Commands

cl

The Microsoft C/C++ compiler for compiling and linking source code files. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

Compile a source file

cl path\to\source.cIdentify

Compile and create an executable with a custom name

cl /Fe path\to\output_executable path\to\source.cIdentify

Compile a source file with optimization enabled

cl /O2 path\to\source.cIdentify

Compile a source file and create a debug executable

cl /Zi path\to\source.cIdentify

Compile multiple source files

cl path\to\source1.c path\to\source2.c ...Identify

Specify the output directory for compiled files

cl /Fo path\to\output_directory\ path\to\source.cIdentify

Compile with warnings as errors

cl /WX path\to\source.cIdentify