https://github.com/Kitware/CMake
Revision 7b1f966a6c456270004a2aec2c53057ca8efbac9 authored by Brad King on 12 February 2014, 14:45:56 UTC, committed by Brad King on 12 February 2014, 14:55:41 UTC
Several CMake operations need to replace files in rapid succession.
This commonly fails on Windows due to filesystem lock behavior so
we have retry loops.  No matter how many times we retry or how long
we delay there will inevitably be someone with an environment that
needs more.  Make the retry count and delay configurable in the
Windows Registry keys:

 {HKCU,HKLM}/Software/Kitware/CMake/Config

in DWORD values

 FilesystemRetryCount = Number of tries
 FilesystemRetryDelay = Delay in milliseconds between tries

Leave the feature undocumented for now to see how it goes.
1 parent 5104f55
History
Tip revision: 7b1f966a6c456270004a2aec2c53057ca8efbac9 authored by Brad King on 12 February 2014, 14:45:56 UTC
Windows: Make file delete/rename retry configurable
Tip revision: 7b1f966
File Mode Size
Auxiliary
Help
Licenses
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 569 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 5.1 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 2.8 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 21.8 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1001 bytes
CTestConfig.cmake -rw-r--r-- 1.0 KB
CTestCustom.cmake.in -rw-r--r-- 3.3 KB
CTestCustom.ctest.in -rw-r--r-- 145 bytes
CompileFlags.cmake -rw-r--r-- 2.5 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 809 bytes
DartLocal.conf.in -rw-r--r-- 4.0 KB
README.rst -rw-r--r-- 2.5 KB
bootstrap -rwxr-xr-x 55.4 KB
cmake_uninstall.cmake.in -rw-r--r-- 796 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top