Never mind, I found an easy solution.
I just added my fake ".target" file as a second output of the command,
and use "cmake -E touch" to update the .target timestamp whenever my
custom command executes. Even though the timestamp of my "true"
output isn't being updated, CMake doesn't re-execute th
Hi all,
There are times when a CMake custom command will generate exactly the
same output file even if its inputs have changed. In these cases, I
would like the timestamp on the output file to remain unchanged, but
to generate a fake ".target" file with the current timestamp so the
custom command