You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
set(lock "${CMAKE_CURRENT_BINARY_DIR}/file-to-lock")
|
|
|
|
if(WIN32)
|
|
string(TOLOWER ${lock} lock)
|
|
endif()
|
|
|
|
file(LOCK ${lock} TIMEOUT 0)
|
|
file(LOCK ${lock} RELEASE)
|
|
|
|
file(LOCK ${lock} TIMEOUT 0)
|
|
file(LOCK ${lock} RELEASE)
|