Hello,
I have a tool that is added to the build-chain.
I am wondering how to redirect stdout to all compiler consoles and also, how do I break when an error occurs while executing that external tool?
Answers are sought for modern common compilers. If there is a generic process or if it can be done automatically let me know.
views:
59answers:
1
+1
A:
in Visual Studio, simply have your external tool printf to stdout, and return a non zero code from main().
steelbytes
2010-06-03 01:57:30
printf? I cannot use cout? How about GCC?
the_drow
2010-06-03 09:57:28