[CMake] Makefile colors and CDT generator

Jean Lepropre jean.lepropre at star-apic.com
Tue Feb 12 10:38:59 EST 2008


I tried to set the env TERM to xterm-color and compile again but it does 
not work.

Cheers,
Jean.





Bill Hoffman <bill.hoffman at kitware.com> 
12/02/08 16:00

To
Jean Lepropre <jean.lepropre at star-apic.com>
cc
Mike Jackson <imikejackson at gmail.com>, Cmake Mailing List 
<cmake at cmake.org>
Subject
Re: [CMake] Makefile colors and CDT generator






Jean Lepropre wrote:
> 
> It seems eclipse console supports colors. At least, there are options to 

> choose them...
> 
> See 
> 
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_build_pref.htm 

> 
> 

But, CMake does not know that....

See: 
http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/kwsys/Terminal.c?rev=1.4.4.4&root=CMake&view=markup


This is to avoid crazy control chars in windows that do not support 
color display.  If you set the env TERM to one of the things cmake knows 
about it should work.

-Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080212/734811c9/attachment.htm


More information about the CMake mailing list