It is a common requirement to have a build time & date included in the executable.
An easy way to do this is to have a file with something like
But, for that to work, it has to be re-compiled every time the project is rebuilt.
SES has an 'Always Rebuild' option - but this will cause the affected file(s) to be rebuilt even when there is no other reason to build. Which is not quite what we want!
So what I'm looking for is an option to compile a file every time anything else needs rebuilding - but not when the Project is otherwise "up-to-date".
Is there a way to do this?
If not, please could it be added as an option?
An easy way to do this is to have a file with something like
But, for that to work, it has to be re-compiled every time the project is rebuilt.
SES has an 'Always Rebuild' option - but this will cause the affected file(s) to be rebuilt even when there is no other reason to build. Which is not quite what we want!
So what I'm looking for is an option to compile a file every time anything else needs rebuilding - but not when the Project is otherwise "up-to-date".
Is there a way to do this?
If not, please could it be added as an option?