Altera_Forum
Honored Contributor
21 years agotouch file
I have a file that includes the standard __DATE__ and __TIME__ macros and other information, and prints it to the console. I use this as a quick way of checking the build version of my software. I need to force the file to be recompiled every build, since the code itself never changes and it is easy to forget to open and save the file during a busy debug session. The shell command "touch <file>" wouild do this if made part of the makefile.
Is there a convenient point - script file - in the IDE tool chain where I could insert this command? Or is there a way to include a user script at the start of every build? I want to keep using the IDE and so need to limit the rework whenever it is upgraded.