[cmake-developers] [CMake 0015502]: Add color to Ninja output like with CMAKE_COLOR_MAKEFILE

Mantis Bug Tracker mantis at public.kitware.com
Wed Apr 8 06:17:52 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15502 
====================================================================== 
Reported By:                trsystran
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15502
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-08 06:17 EDT
Last Modified:              2015-04-08 06:17 EDT
====================================================================== 
Summary:                    Add color to Ninja output like with
CMAKE_COLOR_MAKEFILE
Description: 
With CMAKE_COLOR_MAKEFILE (default to ON) CMake creates target descriptions with
colors.
This is great for human readability.

However, with the Ninja generator there is no such option, and CMake doesn't
emit any color: the output is much harder to read by a human.

Would it be possible to add a CMAKE_COLOR_NINJA equivalent to
CMAKE_COLOR_MAKEFILE, but for the Ninja generator?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-08 06:17 trsystran      New Issue                                    
======================================================================



More information about the cmake-developers mailing list