Boost logo

Boost-Build :

Subject: Re: [Boost-build] Color console output
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-10-18 02:21:15


Matthew,

On 17-Oct-16 9:02 PM, Chambers, Matthew wrote:
> 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.

I think there is interest, and it was suggested in
https://svn.boost.org/trac/boost/ticket/3508. There were no actual
patches though.

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

It's good to know it can work on Windows, I though it's a Unix thing.

Thanks,

-- 
Vladimir Prus
https://vladimirprus.com

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