mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
e6db4c5a4e
Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases.
2 lines
60 B
CMake
2 lines
60 B
CMake
file(LOCK "${CMAKE_CURRENT_BINARY_DIR}/file-to-lock" GUARD)
|