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
cflags.txt
-fdiagnostics-color=alwaysto your CFLAGS or CXXFLAGS. Typically, my recommendation is to add it to both CFLAGS and CXXFLAGS.
Check out similar posts by category:
Build Systems, SCons
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow