You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the same CMakeLists.txt, when I set Unix Makefiles which is the default value for CMAKE_GENERATOR variable, if there are errors in the source code, make will print colors for the "error" keyword and the related lines in the terminal, but when I set CMAKE_GENERATORNinja, ninja will not output any color for the "error" keyword and related lines( red for the "FAILED" line at the beginning of the output though).
I'm using the same CMakeLists.txt, when I set
Unix Makefiles
which is the default value forCMAKE_GENERATOR
variable, if there are errors in the source code,make
will print colors for the "error" keyword and the related lines in the terminal, but when I setCMAKE_GENERATOR
Ninja
,ninja
will not output any color for the "error" keyword and related lines( red for the "FAILED" line at the beginning of the output though).#814 says I have to add
to make ninja output color and it works.
Since make doesn't need this line, is it able to make ninja output colors by default (use an option if you need to disable colors)
Is it a bug?
FYI:
ninja v1.10.2
The text was updated successfully, but these errors were encountered: