Skip to content
Snippets Groups Projects
Commit 311d0376 authored by Christian Fetzer's avatar Christian Fetzer
Browse files

Help: Document error behavior of file(REMOVE/REMOVE_RECURSE)

Clarifies that there is no need to surround file(REMOVE/REMOVE_RECURSE)
calls by `if(EXISTS)` as non existent files are silently ignored.
parent 77e78af1
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,8 @@ Move a file or directory within a filesystem from ``<oldname>`` to
file(REMOVE_RECURSE [<files>...])
Remove the given files. The ``REMOVE_RECURSE`` mode will remove the given
files and directories, also non-empty directories
files and directories, also non-empty directories. No error is emitted if a
given file does not exist.
------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment