diff options
author | Brad King <brad.king@kitware.com> | 2014-02-12 14:45:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-12 14:55:41 (GMT) |
commit | 7b1f966a6c456270004a2aec2c53057ca8efbac9 (patch) | |
tree | 9ac334c91b0a8a501ef34350bf8675cd5ce6f719 /Modules/FindLua50.cmake | |
parent | 5104f55d3f9cf2f9b2537364d1b9a5c86d2f790b (diff) | |
download | CMake-7b1f966a6c456270004a2aec2c53057ca8efbac9.zip CMake-7b1f966a6c456270004a2aec2c53057ca8efbac9.tar.gz CMake-7b1f966a6c456270004a2aec2c53057ca8efbac9.tar.bz2 |
Windows: Make file delete/rename retry configurable
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.
Diffstat (limited to 'Modules/FindLua50.cmake')
0 files changed, 0 insertions, 0 deletions