[CMake] Makefile colors and CDT generator

Bill Hoffman bill.hoffman at kitware.com
Tue Feb 12 09:59:53 EST 2008


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



More information about the CMake mailing list