zephyr/cmake/compiler
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
..
arcmwdt toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition 2020-10-19 14:06:07 -05:00
clang cmake: gcc/clang: enable colour diagnostics in terminal output 2021-04-16 12:20:53 +02:00
gcc cmake: gcc/clang: enable colour diagnostics in terminal output 2021-04-16 12:20:53 +02:00
host-gcc
icx cmake: fix isystem_include_dir path for windows 2021-04-02 13:36:49 -04:00
xcc toolchain: Xtensa C compiler using new abstraction pattern 2020-09-04 20:36:59 +02:00
compiler_flags_template.cmake