Skip to content
Commit e430b7b6 authored by Arvin Farahmand's avatar Arvin Farahmand Committed by Anas Nashif
Browse files

cmake: gcc/clang: enable colour diagnostics in terminal output



When compiler results are piped through a non-terminal (e.g. ninja)
the compiler disables colour diagnostics. Using `-fdiagnostics-color`
forces the compiler to enable colour output. This flag is always
enabled for clang and gcc.

Setting `CONFIG_COMPILER_COLOR_DIAGNOSTICS=n` disables this
feature and reverts to plain diagnostic messages with no formatting.

Signed-off-by: default avatarArvin Farahmand <arvinf@ip-logix.com>
parent 9e9a990b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment