开发者

Viewing cl.exe response file

开发者 https://www.devze.com 2023-01-08 13:17 出处:网络
Visual Studio (2005/2008/2010) appears to create a response file containing flags for the C/C++ compiler, cl.exe.As soon as开发者_如何学编程 compilation finishes, the response file is deleted.

Visual Studio (2005/2008/2010) appears to create a response file containing flags for the C/C++ compiler, cl.exe. As soon as开发者_如何学编程 compilation finishes, the response file is deleted.

Is there a way to force Visual Studio not to delete the response file? Is there some other way to view the contents of the response file?


You can set the compiler option "Suppress Startup Banner" to "No". This will print out the compiler's options.

Another way to get the content of the file is by suspending the cl process while it is running (for example using Process Explorer). Then you have time to look at the response file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号