How to fix SCons not providing colored GCC/C++ output
You can force SCons to provide colored output when using GCC or G++ by adding
-fdiagnostics-color=always
to your CFLAGS
or CXXFLAGS
. Typically, my recommendation is to add it to both CFLAGS
and CXXFLAGS
.