[CMake] Makefile colors and CDT generator

Jean Lepropre jean.lepropre at star-apic.com
Tue Feb 12 05:51:24 EST 2008


Hi,

Thanks for your reply.

I changed "mf->SetToolSupportsColor(false);" to 
"mf->SetToolSupportsColor(true);" but it does not change
anything in Eclipse console (it works as before).

Cheers,
Jean.




cmake-request at cmake.org 
Sent by: cmake-bounces+jean.lepropre=star-apic.com at cmake.org
04/02/08 21:14
Please respond to
cmake at cmake.org


To
cmake at cmake.org
cc

Subject
CMake Digest, Vol 46, Issue 11




Message: 6
Date: Mon, 4 Feb 2008 20:40:51 +0100
From: Alexander Neundorf <a.neundorf-work at gmx.net>
Subject: Re: [CMake] Makefile colors and CDT generator
To: cmake at cmake.org
Message-ID: <200802042040.51471.a.neundorf-work at gmx.net>
Content-Type: text/plain;  charset="iso-8859-6"

On Thursday 31 January 2008, Jean Lepropre wrote:
> Hi,
>
> When using the CDT generator how can I get colored output in the eclipse
> console? I checked that the
> CMAKE_COLOR_MAKEFILE option is ON but it didn't change anything.

Please have a look at CMake/Sources/cmExtraEclipseGenerator.cxx (or 
similar), 
there will be a line which disabled the colors.
Enabled it and see if it breaks the output in Eclipse or not (it may be 
possible that Eclipse isn't able to handle the color escape sequences), 
and 
let us know how it works.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080212/86cd2714/attachment-0001.html


More information about the CMake mailing list