[CMake] Windows "cannot restore timestamp" error in 2.8.12.2

Ellen Johnson Ellen.Johnson at mathworks.com
Tue Feb 25 14:09:27 EST 2014


Hello,

  I recently downloaded the preinstalled binaries for CMake 2.8.12.2.  We had been previously using CMake 2.8.8.

  When building this third-party library on Windows, I get sporadic "build FAILED" errors, along with the "cannot restore timestamp" error regarding the generate.stamp file discussed in this thread from April 2013:

  http://www.cmake.org/pipermail/cmake/2013-April/subject.html#start

  Is this still a known issue in Windows with 2.8.12.2?  The same library builds without error using our previous version of CMake, 2.8.8.

  The last post from the April 2013 thread mentions setting CMAKE_SUPPRESS_REGENERATION might fix the problem.  I tried setting this to true using -D CMAKE_SUPPRESS_REGENERATION:BOOL=1, and indeed that seems to have suppressed the build FAILED errors.  Is this the correct solution, and can you explain why this works?  Or should I obtain CMake 2.8.10?  (One of our third party libraries needs 2.8.10 or higher, so using 2.8.8 is not an option).

  Thank you!
    Ellen



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140225/412e18db/attachment.html>


More information about the CMake mailing list