[CMake] Re: CMake Colours

Matthew Woehlke mw_triad at users.sourceforge.net
Mon Jul 2 17:37:21 EDT 2007


Alexander Neundorf wrote:
> On Monday 02 July 2007 13:09, Mike Arthur wrote:
>> Worked out the problem.
>> Is there any technical reason the KDevelop generator SHOULDN'T produce
>> coloured makefiles?
> 
> Yes, the output view of kdevelop doesn"t support the colors, so you'll see the 
> control characters instead of the colors.
> Are you using kdevelop ?

As far as I know:
- kdevelop does not run 'make' in a PTY
- color Makefiles generated by CMake only color if isatty() is true

Therefore, does the above really apply?

I think it would make sense to still generate color Makefiles, for when 
people use the kdevelop generator but run 'make' in a normal terminal 
(emulator).

-- 
Matthew
/bin/sh -- still Bourne on Solaris (and still not POSIX compliant)



More information about the CMake mailing list