zephyr/cmake/compiler/gcc
Arvin Farahmand b8f5968a42 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 set for
clang and gcc when `ZEPHYR_BUILD_COLOUR_DIAGNOSTIC` environment
variable is set when a clean build is started.

Signed-off-by: Arvin Farahmand <arvinf@ip-logix.com>
2021-04-16 12:20:53 +02:00
..
compiler_flags.cmake cmake: gcc/clang: enable colour diagnostics in terminal output 2021-04-16 12:20:53 +02:00
generic.cmake
target.cmake arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
target_arm.cmake arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
target_arm64.cmake cmake: arm64: Add Cortex-R82 in toolchain option 2021-04-13 07:47:44 -04:00
target_riscv.cmake
target_sparc.cmake
target_x86.cmake