Force a file to always re-build?


#1

Is there a way to force a source file to be re-compiled every time the project is built, even if the file has not changed?

In UNIX terms, ‘touch’ the file at the start of every build.

(This is useful to give a build timestamp by using the DATE and TIME macros).