On 07/02/2014 08:13 AM, Ben Boeckel wrote: > Colors should only be output if we're outputting to a TTY. Pipes or > redirections should not be colored (they'll only confuse those who don't > recognize the escape sequences). CMake also has color routines already, > but I don't know off-hand how accessible they are from CTest code (i.e., > might be static functions).
Look for uses of "cmsysTerminal_cfprintf" as an example. See its declaration in "Source/kwsys/Terminal.h.in" also. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers