file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output-sourcepermission3.txt" INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt" USE_SOURCE_PERMISSIONS FILE_PERMISSIONS OWNER_READ )