[CMake] How to force cmake to always give color o/p

Vivek Goel goelvivek2011 at gmail.com
Wed Sep 12 13:11:02 EDT 2012


Currently I am using unbuffer command to get this thing done.
http://linux.die.net/man/1/unbuffer
regards
Vivek Goel



On Wed, Jun 27, 2012 at 10:45 PM, vivek goel <goelvivek2011 at gmail.com>wrote:

> CMake currently checks if it is  writing to a TTY, and if not it  switch
> off colors.
> Problem is that I am piping make o/p to sed command.
> One way to solve this problem is I can use unbuffer command.
>  Is there any other solution to always force color output ?
>
>
> regards
> Vivek Goel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120912/5d41df90/attachment.htm>


More information about the CMake mailing list