SCons: colored compilation
This commit is contained in:
parent
f3dc51fc69
commit
f9a4e6890b
4 changed files with 46 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ def configure(env):
|
|||
env["CC"]="clang"
|
||||
env["CXX"]="clang++"
|
||||
env["LD"]="clang++"
|
||||
if (env["colored"]=="yes"):
|
||||
if sys.stdout.isatty():
|
||||
env.Append(CXXFLAGS=["-fcolor-diagnostics"])
|
||||
|
||||
is64=sys.maxsize > 2**32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue