[CMake] color makefile ?
Brad King
brad.king at kitware.com
Wed Jul 19 13:55:20 EDT 2006
Jan Woetzel wrote:
>
> Hi,
> I am getting color output from make although I am setting
> CMAKE_COLOR_MAKEFILE OFF
>
> I don't want color output because my XEmacs compilation window displays
> the raw control characters and "click+jump" on errors does not work.
>
> (1) Any idea what's wrong ?
>
> I am using cmake 2.4.2 "binary release" on PC Linux with gnu makefile
> generator.
>
> CMakeCache.txt contains:
> CMAKE_COLOR_MAKEFILE:BOOL=OFF
> as expected.
If a CMakeLists.txt file turns it on then the cache value doesn't
matter. It is only used to initialize the CMake variable of the same name.
CMake is supposed to detect whether stdout is a tty capable of
displaying color before it sends the escape sequences. Its test is very
conservative and favors non-color if it isn't sure. What is the value
of TERM in the compilation window?
M-x compile
Compile command: set |grep TERM
-Brad
More information about the CMake
mailing list