No, I found out if the output is not TTY it is not color output: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/kwsys/Terminal.c;hb=v2.8.7#l181 May have to add in my own colorized parser. Matt
On Feb 9, 4:19 pm, Sami Tikka <[email protected]> wrote: > Does your build generate color codes also when the output is not a TTY I.e. > when piped to another process or redirected to a file? > > -- Sami > > Matt Fair <[email protected]> kirjoitti 9.2.2012 kello 9.15: > > > > > > > > > I'm building my c++ code via cmake generated make file and command > > line scripts. The cmake generated make file produces ansi color > > output in my terminal (example output: > >http://doc.qt.nokia.com/qq/34/cmake-build.png). I installed the ansi > > color build plugin, checked the box for my build environment, however > > my build output is not colorized. Am I doing something wrong, has > > anyone else been able to do this for command line script output? > > Thanks, > > Matt
