summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2015-01-17 18:27:08 +0300
committerAnton Yabchinskiy <arn@bestmx.ru>2015-01-17 18:27:08 +0300
commitfa38e9b838f32baedfca7a9250a76418b1872f5d (patch)
treec37f2d5817f5de216f1d864754063993883d6f90 /SConstruct
parentd6998995b54fd4fed83eef9db3bbb45fa60565db (diff)
parent91faf8e21810c8995e4f6e3b6ba47a6482ab877e (diff)
Merge branch 'master' of github.com:okamstudio/godot
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 7b1a10a03b..0c7698d9b3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -117,6 +117,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
@@ -300,6 +301,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')