file(GENERATE
  OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output_script.sh"
  INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input_script.sh"
)