Boost logo

Boost-Build :

Subject: [Boost-build] Color console output
From: Chambers, Matthew (matt.chambers42_at_[hidden])
Date: 2016-10-17 14:02:54


Is there any interest in having BB emit its warning and error messages in color? It's just a matter of writing ANSI color codes on modern
*nix shells, but even in Windows cmd.exe it's possible. I think it would be very helpful for quickly discriminating between mundane build
text, error/warning messages, and in the case of failed actions, the body of the action that failed.

For Windows, it requires a few system calls:
http://stackoverflow.com/questions/7778392/colorize-stdout-output-to-windows-cmd-exe-from-console-c-app

Should output.c/h be split out by nt/unix like path and exec are?

-Matt


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk