Prevent linebreaks in cmake output

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Prevent linebreaks in cmake output

CMake mailing list
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.

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake