如何使 Visual Studio 的构建变得非常冗长?

2021-12-28 00:00:00 visual-studio c++ build-process

我需要掌握 Visual Studio 二进制文件在构建过程中使用的每个标志和每个开关.我试图通过使用 vcbuild 获得详细的输出,但我不能.

I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild, but I wasn't able.

我需要做什么才能看到 Visual Studio 为我执行的所有操作?没有必要在构建窗口中获取输出.任何地方都可以.

What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine.

推荐答案

  1. 打开项目属性对话框,然后选择

  1. Open the project properties dialog, then choose

配置属性 → C/C++ → 常规

Suppress Startup Banner的设置更改为No

cl 命令行将显示在输出窗口中.

The cl command line(s) will be shown in the output window.

相关文章