diff options
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,9 @@ import sys, os sys.path.append(Dir("BuildTools/SCons").abspath) +import SCons.SConf ################################################################################ # Build variables ################################################################################ vars = Variables("config.py") @@ -156,12 +157,15 @@ if int(ARGUMENTS.get("V", 0)) == 0: #Progress(colorize("DEP", "$TARGET", "red") ################################################################################ # Platform configuration ################################################################################ +if ARGUMENTS.get("force-configure", 0) : + SCons.SConf.SetCacheMode("force") + conf = Configure(conf_env) if conf.CheckLib("z") : env.Append(LIBS = "z") env["ZLIB_FLAGS"] = "" else : |
Swift