Skip to content

cmake: Improve error handling in `cmake -E tar` command

Bartosz requested to merge gang65/cmake:improve-tar-command into master

This Merge Request is related to: #16834

With this Merge Request I would like to improve error handling by cmake -E tar, with following steps:

  • If archive needs to be created then list of files are mandatory. Otherwise error message will be displayed.
  • Update tar documentation with not described arguments.
  • During creation of archive, if one file cannot be read, then continue with adding next files. This is a mimic of original tar implementation.
Edited by Bartosz

Merge request reports