5 ms·
I know you can use cl.exe directly, but it is not the same. For example, you can't even suppress its output completely. https://social.msdn.microsoft.com/Forums
by bjourne 9y ago
I know you can use cl.exe directly, but it is not the same. For example, you can't even suppress its output completely. https://social.msdn.microsoft.com/Forums/vstudio/en-US/9eabed6b-8bae-4c86-a8d8-c7fc2c8e6ed2/clexe-how-to-suppress-filenamec-and-creating-library-filelib-and-object-fileexp?forum=vclanguage https://social.msdn.microsoft.com/Forums/vstudio/en-US/9eabe...
- planteen 9y agoAs much as I dislike MSVC, I'm still not sure that's a fair comparison. I've used cl.exe in large, complex makefiles to build programs that could also change CC and CXX to gcc or clang. And as far as output suppression goes, couldn't you pipe it somewhere else? I've had to do the same trick on Linux utils (pipe to /dev/null).
- bjourne 9y agoFor fucks sake! OP asked and I gave him some FREE advice. He doesn't give a shit about the output of cl.exe (it was just an example...) so what's the point of these annoying nitpicks? It makes me want to stop commenting. For the record, NO you can't pipe it somewhere else: https://stackoverflow.com/questions/1453767/prevent-cl-exe-from-printing-the-compiled-source-file https://stackoverflow.com/questions/1453767/prevent-cl-exe-f...