If you have ever worked with Make, the concept should be familar. Basically it compares the modification time of the source with the target, and if the source is newer, it should rebuild the target. There is also some file signature information that SCons stores internally in the .sconsign.dblite
file, that I dont believe can be accessed programatically.
As can be seen in the SCons Decider() function docs, the behaviour can be configured to be one of the following (copied from the SCons man page):
- timestamp-newer (This is the behavior of the classic Make utility, and make can be used a synonym for timestamp-newer)
- timestamp-match
- MD5
- MD5-timestamp