This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
010140311a
CMake
/
Tests
/
RunCMake
/
file
/
LOCK-error-no-timeout.cmake
2 lines
62 B
CMake
Raw
Normal View
History
Unescape
Escape
file: Add LOCK subcommand to do file and directory locking 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.
2014-11-26 01:49:25 +03:00
file
(
LOCK
"${CMAKE_CURRENT_BINARY_DIR}/file-to-lock"
TIMEOUT
)