summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-10 09:48:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-10 09:48:13 (GMT)
commit17721d86205828929e784ad35e5f07e8a7a71631 (patch)
tree6e771979b946a606eb8b732ac2a9d13b446c85d5 /SConstruct
parentbdec51e576b5a3afcca5a0b62f4567e1dc17bbcf (diff)
downloadswift-contrib-17721d86205828929e784ad35e5f07e8a7a71631.zip
swift-contrib-17721d86205828929e784ad35e5f07e8a7a71631.tar.bz2
Added enable_variants build option.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index bad221a..2203743 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1 +1,6 @@
-SConscript("BuildTools/SCons/SConstruct")
+variant_dir = SConscript("BuildTools/SCons/SConscript.boot")
+print "Variant dir: " + str(variant_dir)
+if variant_dir :
+ variant_dir = SConscript("BuildTools/SCons/SConstruct", variant_dir = variant_dir, src_dir = ".")
+else :
+ variant_dir = SConscript("BuildTools/SCons/SConstruct")