CMake
CMake copied to clipboard
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