How to: Run Multiprocessor Builds with DEVENV Command Line Switches

Running Multiprocessor Builds using Devenv Command Line Switches is similar to running multiprocessor builds from the IDE. The number of projects that can build concurrently depends on the value of the Maximum number of parallel project builds property.

The following example illustrates multiprocessor builds using DEVENV command line switches. To set up this example, create a new solution named MultiprocExample that comprises two C++ console applications, one named Console1 and the other named Console2.

Use the following command line to run a multiprocessor rebuild for Console1 and Console2, both in Debug configuration.