如何查看VisualStudio的编译, 链接命令

VisualStudio默认是不显示编译命令的,如何查看呢。

对于链接器:

项目属性 -> 配置属性 -> 链接器 -> 常规 -> 显示进度 -> 设为 "/VERBOSE"

项目属性 -> 配置属性 -> 链接器 -> 常规 -> 取消显示启动版权标志 -> 设为 "否"

对于编译器:

1) Open the project properties dialog, then choose

Configuration Properties -> C/C++ -> General

2) Change the setting for Suppress Startup Banner to No

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

参考资料:

这个页面

原文地址:https://www.cnblogs.com/qrlozte/p/4173730.html