diff options
author | Steven Knight <knight@baldmt.com> | 2004-05-19 17:49:55 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-05-19 17:49:55 (GMT) |
commit | 04ebe107191659f805bd63148c61c1026efeb686 (patch) | |
tree | 9122729d1120c1119fe10ff360f4675789ca8f9b /src/engine/SCons/SConf.py | |
parent | 12d2ae1193b9e32e0164218bb73240791914f976 (diff) | |
download | SCons-04ebe107191659f805bd63148c61c1026efeb686.zip SCons-04ebe107191659f805bd63148c61c1026efeb686.tar.gz SCons-04ebe107191659f805bd63148c61c1026efeb686.tar.bz2 |
Fix spurious rebuilds/reinstalls of header files and circular dependencies with generated header files by allowing Scanners to be associated explicitly with Builders, not just through Scanner file suffix lists.
Diffstat (limited to 'src/engine/SCons/SConf.py')
-rw-r--r-- | src/engine/SCons/SConf.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index db4e375..196b426 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -155,6 +155,17 @@ class SConf: already_done.append( n ) self._setCache(n.children()) + # Calling children() has set up the implicit cache (and + # other state), but we're not really building things yet, + # so generated files won't have been generated. Clear the + # state so we will, in fact, build everything that's necessary + # when we do the build. + # + # XXX - it would be good to find a better way to do this, + # maybe by doing something with the actions in the actual + # Taskmaster...? + n.clear() + def BuildNodes(self, nodes): """ Tries to build the given nodes immediately. Returns 1 on success, |