Is it possible to disable the epoch timestamp that cxxtestgen adds to generated source files?

12 views
Skip to first unread message

Derek Dresser

unread,
Nov 15, 2017, 3:50:35 PM11/15/17
to CxxTest Forum

We use Gradle for building and it tracks input and output files for compile tasks and retrieve object files from a cache if they are available.  Right now, our CxxTests are being compiled after every clean build because there is a timestamp added to the end of each generated source file (like: /*1510777936667*/)  The source hasn't changed so I would expect Gradle to be able to retrieve the object files from the cache, but due to the timestamp, the MD5sum is different.

Is there an easy way to disable the timestamp?  I didn't see an obvious way in the cxxtestgen --help.  Maybe with a template?

Thanks,
Derek
Reply all
Reply to author
Forward
0 new messages