https://blog.csdn.net/u012247418/article/details/82314129
开发环境:
win10 + Microsoft Visual C++ Build Tools 2015
The Microsoft Visual C++ Build Tools installs only the command-line compiler, tools, and libraries you need to build C and C++ programs. It’s perfect for build labs or classroom exercises and installs relatively quickly. To install only the command-line tools, download and install Microsoft Visual C++ Build Tools 2015.
The following tools can help you to build a C/C++ project on the command line.
- 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++