Building C/C++ Programs

You can build Visual C++ projects either in Visual Studio or on the command line. The Visual Studio IDE uses MSBuild to build projects and solutions. On the command line, you can use the C/C++ compiler (cl.exe) and linker (link.exe) to build simple projects. To build more complex projects on the command line, you can use MSBuild or NMAKE. For an overview about how to use Visual Studio to build projects and solutions, see Compiling and Building.

In This Section

Building C++ Projects in Visual Studio Discusses how to use the Visual Studio IDE to build your C/C++ project.

Build C/C++ code on the command line Discusses how to use the C/C++ command-line compiler and build tools that are included in Visual Studio.

Building C/C++ Isolated Applications and Side-by-side Assemblies Describes the deployment model for Windows Desktop applications, based on the idea of isolated applications and side-by-side assemblies.

C/C++ Building Reference Provides links to reference articles about program building in C++, compiler and linker options, and various build tools.

Configure Visual C++ for 64-bit, x64 targets Describes how to configure both Visual Studio and the command line to use the 64-bit toolset and how to target 64-bit architectures, and discusses common migration issues when code is moved to 64-bit architectures.

Configure Visual C++ for ARM processors Describes the conventions used by ARM processors, and discusses common migration issues when code is moved to ARM architectures.

Configuring Programs for Windows XP Describes how to set the Platform Toolset to target Windows XP development.

Compiling and Building Describes the Visual Studio build system and tools.