Build C/C++ code on the command line

The command prompt shortcuts are installed in a version-specific Visual Studio folder in your Start menu. Here’s a list of the base command prompt shortcuts and the build architectures they support:

  • Developer Command Prompt Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code.
  • x86 Native Tools Command Prompt Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code.
  • x64 Native Tools Command Prompt Sets the environment to use 64-bit, x64-native tools to build 64-bit, x64-native code.
  • x86_x64 Cross Tools Command Prompt Sets the environment to use 32-bit, x86-native tools to build 64-bit, x64-native code.
  • x64_x86 Cross Tools Command Prompt Sets the environment to use 64-bit, x64-native tools to build 32-bit, x86-native code.

NMAKE

  • To use NMAKE, you must run it in a Developer Command Prompt window.
  • To write MakeFile file about your project
  • To command: nmake /f makefile.vc

Rerference