summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-CHMOD/CHMOD-ok.cmake
blob: 87e3e5766fc2b68051b0f200b1b48af4d84337ea (plain)
1
2
3
4
5
file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)

file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a)
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a PERMISSIONS OWNER_READ)