[ccache] ccache on generated C++ files...

Malfettone, Kris Kris.Malfettone at sig.com
Fri Jun 21 00:30:24 UTC 2019

I apologize if this is answered somewhere already however I could not find it.

My project uses a large number of generated C++ files (.h/.cpp files).  On a clean build these files are cleaned up as well.  As a result during the next build since they are generated again they will all have a newer mtime and ctime than the previous runs.  Their content is the same though.  Is there a way for those files to disable checking both the mtime and ctime checks?  I would love to be able to check based on some sort of "check file size then check content checksum" ignoring mtime and ctime.

If it helps all of those files are generated to a different directory than the static source files (cmake source vs binary dirs.).



IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

More information about the ccache mailing list