mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Move lock scope handling to the `FileScopeBase` class to cover: - `IncludeScope` for `include()` - `ListFileScope` for `cmake -P` script mode - `BuildsystemFileScope` for `CMakeLists.txt`/`add_subdirectory` Fixes: #16480
3 lines
91 B
CMake
3 lines
91 B
CMake
file(LOCK "${FILE_TO_LOCK}" GUARD FILE TIMEOUT 0)
|
|
message(STATUS "File locked in include")
|