
To build a C/C++ project on the command line, you can use these Visual C++ command-line tools:
- CL
Use the compiler (cl.exe) to compile and link source code files into apps, libraries, and DLLs. - Link
Use the linker (link.exe) to link compiled object files and libraries into apps and DLLs. - MSBuild (Visual C++)
Use MSBuild (msbuild.exe) to build Visual C++ projects and Visual Studio solutions. This is equivalent to running the Build project or Build Solution command in the Visual Studio IDE. - DEVENV
Use DEVENV (devenv.exe) combined with a command-line switch—for example, /Build or /Clean—to perform certain build commands without displaying the Visual Studio IDE. - NMAKE
Use NMAKE (nmake.exe) to automate tasks that build Visual C++ projects by using a traditional makefile.




近期评论