vs2005拦截cl.exe输出 [英] vs2005 intercepts cl.exe output

查看:118
本文介绍了vs2005拦截cl.exe输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个自定义生成系统,名为cl.exe.在vs2005 IDE内部,我们调用自定义应用程序(作为NMake命令)进行编译.

We have a custom build system that call cl.exe. From within the vs2005 IDE we call our custom application (as an NMake command) to compile.

自定义应用程序将cl.exe的输出重定向到一个文件,然后在应用程序的末尾,将完整的文件提供给IDE.

The custom application redirects the cl.exe output to a file, and at the end of the application, the complete file is fed to the IDE.

这在vs2003中工作正常,但在vs2005中,似乎IDE会窃取" cl.exe的输出,以便我们自己的应用程序不再看到该输出.我们有什么办法可以避免这种情况?

This worked fine in vs2003, but in vs2005 it seems that the IDE 'steals' the output from cl.exe, so that our own application does not see that output anymore. Is there anything we can do to avoid this?

谢谢

eli

推荐答案

您如何调用cl.exe,以及如何重定向cl.exe输出?我看不到VS2005如何执行调用cl.exe的自定义生成步骤来拦截cl.exe的输出...
How are you calling cl.exe and how are your redirecting the cl.exe output?  I can't see how VS2005 executing your custom build step which calls cl.exe could be intercepting cl.exe's output...


这篇关于vs2005拦截cl.exe输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆