pcc/CMake — pull request #1 by drone2537 (2012-01-07 03:35:01+00:00)
Title: Ninja generator pr

Hi Peter,

I really like the Ninja generator. This pull request adds color output (ANSI color escape sequences) to the rules.ninja file when CMAKE_COLOR_NINJA is ON. This mirrors how CMAKE_COLOR_MAKEFILES works. It assigns colors to distinct rule names on a round-robin basis in the order AddRule() is called during configuration. See http://en.wikipedia.org/wiki/ANSI_escape_code for a description of the escape sequences.

David