AFAIK ClearMake intercepted file system access and recorded the version of everything touched during your build.