CMake icon indicating copy to clipboard operation
CMake copied to clipboard

Ninja generator pr

Open drone2537 opened this issue 13 years ago • 0 comments

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

drone2537 avatar Jan 07 '12 03:01 drone2537