[CMake] color makefile ?

Jan Woetzel jw at woetzelweb.de
Wed Jul 19 17:08:35 EDT 2006


Brad King wrote:

>>CMAKE_COLOR_MAKEFILE OFF
>>
>What is the value of TERM in the compilation window?
>  
>

(1) I think XEmacs is using an xterm but doing his own extar coloring to mark e.g. errors in red. 
Is that the problem? 


M-x compile / Compile command: / printenv 
contains: 
...
COLORTERM=1
TERM=xterm
...

Compiling directly inside an "xterm" works as expected with correct colored output. 

Typical output inside the Linux XEmacs compile window (make -C <build-dir> ...): 

The marked line apperas green on screen, the others are black.
>>>
cd /datapc/visu2/jw/build/BIAS/
make -C $BIAS_DIR   #### This line appears GREEN #####
make: Entering directory `/datapc/visu2/jw/build/BIAS'
make[1]: Entering directory `/datapc/visu2/jw/build/BIAS'
make[2]: Entering directory `/datapc/visu2/jw/build/BIAS'
Building CXX object MathAlgo/CMakeFiles/BIASMathAlgo.dir/BSplineCurve.o
Building CXX object MathAlgo/CMakeFiles/BIASMathAlgo.dir/UnscentedTransform.o
Building CXX object MathAlgo/CMakeFiles/BIASMathAlgo.dir/GaussHelmert.o
...
<<<

The problem occurs only with XEmacs on Linux. 
XEmacs on Windows is fine (no colored output). 

Jan.


-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  Uni Kiel
  Institut f. Informatik und Praktische Mathematik
  Hermann-Rodewaldstr. 3  [Raum 310]
  24098 Kiel/Germany
--------------------------------------------------
  Tel    +49-431-880-4477
  Fax    +49-431-880-4054
  Privat +49-431-802872
  Mob.   +49-179-2937346
--------------------------------------------------
  Url    www.mip.informatik.uni-kiel.de/~jw
  Email  jw at mip.informatik.uni-kiel.de
  Privat jw at WoetzelWeb.de



More information about the CMake mailing list