Skip to content

cmake -E: Add rm with improved semantics over remove and remove_directory

The new cmake -E rm command supports removing directories (with -r) and files. In addition, if the -f flag is not specified, attempting to remove a file that doesn't exist returns an error code of 1.

Fixes: #19466 (closed)
Topic-rename: cmake-e-rm

Edited by Kyle Edwards

Merge request reports