Developer Command PromptΒΆ

Developer Command Prompt is a Command Prompt with Visual Studio development tools available in environment:

> where msbuild
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

> where cl
...\msvc\2015\VC\bin\cl.exe

> where dumpbin
...\msvc\2015\VC\bin\dumpbin.exe

Similar test on regular Command Prompt cmd.exe:

> where msbuild
INFO: Could not find files for the given pattern(s).

> where cl
INFO: Could not find files for the given pattern(s).

> where dumpbin
INFO: Could not find files for the given pattern(s).

Note

There is no need to use Developer Command Prompt for running CMake with Visual Studio generators, corresponding environment will be loaded automatically by CMake. But for other generators like NMake or Ninja you should start CMake from Developer Command Prompt.