Share via


Building on the Command Line

Visual C++ provides command-line tools for programmers who prefer to build their applications from the command prompt. If you want to use the command line to build a project created in Visual C++, you can use one of the following:

When you build from the command line, you can get help on warnings, errors, and messages by starting the development environment and clicking either Index or Search on the Help menu.

In This Section

  • /MD, /MT, /LD (Use Run-Time Library)
    Describes using these compiler options to use a Debug or Release run-time library.

  • C/C++ Compiler Options
    Provides links to topics discussing the C and C++ compiler options and CL.EXE.

  • Linker Options
    Provides links to topics discussing the linker options and LINK.EXE.

  • C/C++ Build Tools
    Provides links to the C/C++ build tools provided with Visual C++.

  • Building a C/C++ Program
    Provides links to topics describing building your program from the command line or from the integrated development environment of Visual Studio.

  • C# Compiler Options
    Provides links to topics discussing the C# compiler options provided with Visual Studio.