have been deprecated. The new names are TargetSignatures() and
SourceSignatures().
+ - The Export() function and the exported variables argument of
+ SConscript() now search for variables using the same rules as
+ Python: local first, then global. If you are calling Export() or
+ SConscript() from a module imported directly into an SConscript
+ file, you may need to modify the module to make the previously
+ global variables available to your Export() or SConscript() call.
+
Please note the following important changes since release 0.11:
- The default behavior of SCons is now to change to the directory in
env.Append(LIBPATH = [e["EXPORT_LIB"]])
env.Append(LIBPATH = [e["REF_LIB"]])
-Mylib.Subdirs("src")
+Mylib.Subdirs(env, "src")
""" % test.workpath('SLF'))
test.write(['SLF', 'Mylib.py'], """\
import SCons.Environment
import SCons.Script.SConscript
-def Subdirs(dirlist):
+def Subdirs(env, dirlist):
for file in _subconf_list(dirlist):
SCons.Script.SConscript.SConscript(file, "env")
#env = env.Copy() # Yes, clobber intentionally
#Make environment changes, such as: Mylib.AddCFlags(env, "-g -D_TEST")
-#Mylib.Subdirs("lib_a lib_b lib_mergej prog_x")
-Mylib.Subdirs("lib_geng")
+#Mylib.Subdirs(env, "lib_a lib_b lib_mergej prog_x")
+Mylib.Subdirs(env, "lib_geng")
env = env.Copy() # Yes, clobber intentionally
# --- End SConscript boilerplate ---
#env = env.Copy() # Yes, clobber intentionally
#Make environment changes, such as: Mylib.AddCFlags(env, "-g -D_TEST")
-#Mylib.Subdirs("foo_dir")
+#Mylib.Subdirs(env, "foo_dir")
env = env.Copy() # Yes, clobber intentionally
# --- End SConscript boilerplate ---