如何修复 SCons 不提供彩色 GCC/C++ 输出
你可以通过添加以下内容强制 SCons 在使用 GCC 或 G++ 时提供彩色输出
cflags.txt
-fdiagnostics-color=always到你的 CFLAGS 或 CXXFLAGS。通常,我的建议是将其添加到两者 CFLAGS 和 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