"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "SCons/Defaults.py" between
SCons-4.3.0.tar.gz and SCons-4.4.0.tar.gz

About: SCons is a software construction tool (a Python script and a set of modules as a superior alternative to the classic "Make" build tool).

Defaults.py  (SCons-4.3.0):Defaults.py  (SCons-4.4.0)
skipping to change at line 485 skipping to change at line 485
l = [] l = []
for k, v in sorted(defs.items()): for k, v in sorted(defs.items()):
if v is None: if v is None:
l.append(str(k)) l.append(str(k))
else: else:
l.append(str(k) + '=' + str(v)) l.append(str(k) + '=' + str(v))
else: else:
l = [str(defs)] l = [str(defs)]
return l return l
def _defines(prefix, defs, suffix, env, target, source, c=_concat_ixes): def _defines(prefix, defs, suffix, env, target=None, source=None, c=_concat_ixes ):
"""A wrapper around _concat_ixes that turns a list or string """A wrapper around _concat_ixes that turns a list or string
into a list of C preprocessor command-line definitions. into a list of C preprocessor command-line definitions.
""" """
return c(prefix, env.subst_list(processDefines(defs), target=target, source= source), suffix, env) return c(prefix, env.subst_list(processDefines(defs), target=target, source= source), suffix, env)
class NullCmdGenerator: class NullCmdGenerator:
"""This is a callable class that can be used in place of other """This is a callable class that can be used in place of other
command generators if you don't want them to do anything. command generators if you don't want them to do anything.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)