Skip to content

Command-Line Tools: Print last system error on failure

Leonid Pospelov requested to merge (removed):cmcmd-error-reporting into master

CMake filesystem related command-line tools are now printing cmSystemTools::GetLastSystemError() on failure (copy, copy_if_different, copy_directory).

Example:

Error copying directory from "foo" to "bar": No such file or directory.

Fixes: #18276

Merge request reports