diff options
author | Brad King <brad.king@kitware.com> | 2013-02-12 15:46:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-12 18:55:53 (GMT) |
commit | 2dc17f88dd2de900154f153f521b803ec9b7c377 (patch) | |
tree | f37aa5ebb1a24320bc082828c7024c65479b3bfc /Source/cmDependsJavaParserTokens.h | |
parent | da6109df0f20dd871ddf43911c8313f57d77806c (diff) | |
download | CMake-2dc17f88dd2de900154f153f521b803ec9b7c377.zip CMake-2dc17f88dd2de900154f153f521b803ec9b7c377.tar.gz CMake-2dc17f88dd2de900154f153f521b803ec9b7c377.tar.bz2 |
VS: Replace generation timestamp file atomically
Since commit 34c882a9 (Allow VS 7 project Rebuild and Solution Rebuild to
work, 2007-11-10) we use a "CMakeFiles/generated.stamp" and some
associated files in the build tree to avoid re-running CMake when the
inputs have not changed but VS has cleaned the outputs it knows about.
When we do not really need to re-run we restore the generated.stamp file.
The non-re-run case can happen in multiple targets in parallel in VS >= 10
so we must restore the file atomically to avoid races. Write the stamp
file to a random temporary name and then atomically rename it to the real
stamp file.
Diffstat (limited to 'Source/cmDependsJavaParserTokens.h')
0 files changed, 0 insertions, 0 deletions