diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-07-10 09:48:13 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-07-10 09:48:13 (GMT) |
commit | 17721d86205828929e784ad35e5f07e8a7a71631 (patch) | |
tree | 6e771979b946a606eb8b732ac2a9d13b446c85d5 /SConstruct | |
parent | bdec51e576b5a3afcca5a0b62f4567e1dc17bbcf (diff) | |
download | swift-17721d86205828929e784ad35e5f07e8a7a71631.zip swift-17721d86205828929e784ad35e5f07e8a7a71631.tar.bz2 |
Added enable_variants build option.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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") |