1 2 3 4 5
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output-sourcepermission1.txt" INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt" NO_SOURCE_PERMISSIONS USE_SOURCE_PERMISSIONS )