- #1
rohanprabhu
- 414
- 2
I am making a Makefile generator and for that, I need something like:
There is a list of files. When the generator is run, I need to know that which files out of those have changed since the last time the generator was run so as to not to include these files in the compiling list. I was thinking first a filesize check and if they match, a checksum. Would that do?
Since the program i'll be making would be Windows-native, so I can use anything from the Win32 API, something that would allow me to check the last file modified date??
Since the list of files could be HUGE.. i need to know the fastest way to do this. Any help is appreciated.
thanks,
rohan
There is a list of files. When the generator is run, I need to know that which files out of those have changed since the last time the generator was run so as to not to include these files in the compiling list. I was thinking first a filesize check and if they match, a checksum. Would that do?
Since the program i'll be making would be Windows-native, so I can use anything from the Win32 API, something that would allow me to check the last file modified date??
Since the list of files could be HUGE.. i need to know the fastest way to do this. Any help is appreciated.
thanks,
rohan