Help: Document CLICOLOR and CLICOLOR_FORCE environment variables

Issue: #26451
This commit is contained in:
Brad King
2024-11-18 12:46:45 -05:00
parent 0948a7fa83
commit 1224fbce3f
4 changed files with 34 additions and 1 deletions
+4 -1
View File
@@ -3,7 +3,7 @@ CMAKE_COLOR_DIAGNOSTICS
.. versionadded:: 3.24
Enable color diagnostics throughout.
Enable color diagnostics throughout the generated build system.
This variable uses three states: ``ON``, ``OFF`` and not defined.
@@ -35,3 +35,6 @@ When ``OFF``:
If the :envvar:`CMAKE_COLOR_DIAGNOSTICS` environment variable is set, its
value is used. Otherwise, ``CMAKE_COLOR_DIAGNOSTICS`` is not defined by
default.
See the :envvar:`CLICOLOR` and :envvar:`CLICOLOR_FORCE` environment
variables to control color output from CMake command-line tools.