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.

7 lines
317 B

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
FILE_PERMISSIONS OWNER_READ DIRECTORY_PERMISSIONS OWNER_READ)