[CMake] Makefile colors and CDT generator

Alexander Neundorf a.neundorf-work at gmx.net
Mon Feb 4 14:40:51 EST 2008


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


More information about the CMake mailing list