Quieten Visual Studio cl.exe

When compiling from the command line with cl.exe name of the source file is printed by the compiler:

 c:\bar> cl /nologo foo.cpp foo.cpp 

Is it possible to require cl.exe not to print this irrelevant information?

Here the test suite calls cl.exe with arbitrary source file names, and it would be nice if cl remained quiet when there is no diagnostics to emit.

+4
source share

Source: https://habr.com/ru/post/1500182/


All Articles