summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct12
1 files changed, 1 insertions, 11 deletions
diff --git a/SConstruct b/SConstruct
index 879396ef62..ed65f2b89f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -88,7 +88,7 @@ if profile:
elif os.path.isfile(profile+".py"):
customs.append(profile+".py")
-opts=Options(customs, ARGUMENTS)
+opts=Variables(customs, ARGUMENTS)
opts.Add('target', 'Compile Target (debug/profile/release).', "debug")
opts.Add('platform','Platform: '+str(platform_list)+'(sfml).',"")
opts.Add('python','Build Python Support: (yes/no)','no')
@@ -221,18 +221,9 @@ for p in platform_list:
if (env["builtin_zlib"]=='yes'):
env.Append(CPPPATH=['#drivers/builtin_zlib/zlib'])
- if (env['squirrel']=='yes'):
-
- env.Append(CPPFLAGS=['-DSQUIRREL_ENABLED'])
- env.Append(CPPPATH=['#script/squirrel/src'])
-
# to test 64 bits compiltion
# env.Append(CPPFLAGS=['-m64'])
- if (env['lua']=='yes'):
-
- env.Append(CPPFLAGS=['-DLUA_ENABLED'])
- env.Append(CPPPATH=['#script/lua/src'])
if (env_base['squish']=='yes'):
env.Append(CPPFLAGS=['-DSQUISH_ENABLED']);
@@ -308,7 +299,6 @@ for p in platform_list:
SConscript("servers/SCsub")
SConscript("scene/SCsub")
SConscript("tools/SCsub")
- SConscript("script/SCsub");
SConscript("drivers/SCsub")
SConscript("bin/SCsub")