[CMake] Prevent linebreaks in cmake output
Jason Majors
jmajors at google.com
Tue Jul 11 16:37:15 EDT 2017
Is there a way to have each message from cmake appear on a single line?
Currently my output seems to break like this:
CMake Error: Error in cmake code at
/path/to/CMakeLists.txt:48:
Parse error. Function missing ending ")". End of file reached.
I'm trying to parse the error messages in a program that reads cmake's
stderr and stdout. Rather than trying to decide which lines should go
together, and building all the scanning that would be required for that, I
was hoping there might just be a flag I could set to do the work for me.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170711/753247fb/attachment.html>
More information about the CMake
mailing list