mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
7de60beddf
Fixes: #21057 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
7 lines
326 B
CMake
7 lines
326 B
CMake
file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)
|
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)
|
|
|
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a "CONTENT")
|
|
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a PERMISSIONS OWNER_WRITE)
|
|
file(READ ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a content)
|