diff options
author | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-12 12:54:17 +0800 |
---|---|---|
committer | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-12 12:54:17 +0800 |
commit | f9a4e6890bf5b21ae39c12f920e11005b07df9aa (patch) | |
tree | b120a7dac66338344123644dfacfcf64968712ca /SConstruct | |
parent | f3dc51fc69ec3a16c6b2a6834ff0a6d933b1ddca (diff) | |
download | redot-engine-f9a4e6890bf5b21ae39c12f920e11005b07df9aa.tar.gz |
SCons: colored compilation
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index b9f2b7e2c4..c68ca3989f 100644 --- a/SConstruct +++ b/SConstruct @@ -116,6 +116,7 @@ opts.Add("CFLAGS", "Custom flags for the C compiler"); opts.Add("LINKFLAGS", "Custom flags for the linker"); opts.Add('disable_3d', 'Disable 3D nodes for smaller executable (yes/no)', "no") opts.Add('disable_advanced_gui', 'Disable advance 3D gui nodes and behaviors (yes/no)', "no") +opts.Add('colored', 'Enable colored output for the compilation (yes/no)', 'no') # add platform specific options @@ -299,6 +300,9 @@ if selected_platform in platform_list: if (env['xml']=='yes'): env.Append(CPPFLAGS=['-DXML_ENABLED']) + if (env['colored']=='yes'): + methods.colored(sys,env) + Export('env') |