[Scons-users] Fwd: Dependency tree for test framework
    Mats Wichmann 
    mats at wichmann.us
       
    Thu Apr  3 17:32:38 EDT 2025
    
    
  
On 4/3/25 15:06, Oliver Koch via Scons-users wrote:
> PreProcess.py reads aNew\b.out and writes aNew\b.out.tmp.
> 
> If either PreProcess.py changes (e.g. because I fix a bug in the Python
> script) or the input file aNew\b.out changes aNew\b.out.tmp must be
> re-created. SCons should recognize this a re-create aNew\b.out.tmp
That is how SCons builders work, so should be no real problem.
the target is rebuilt if the source changes, or if the contents of the 
expanded build string changes - both of those are checked by comparing a 
hash with a saved hash.  The first word of the build action is assumed 
to be the command, and changes to that will also trigger a rebuild.
    
    
More information about the Scons-users
mailing list