cmake ctest_upload(CAPTURE_CMAKE_ERROR) examples

trilinos/Trilinos cmake/SimpleTesting/cmake/ctest-functions.cmake :63

ctest_upload(FILES ${configure_command_file}
                   ${configure_file}
                   ${package_enables_file}
                   ${genconfig_build_name_file}
             CAPTURE_CMAKE_ERROR file_upload_error)