mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
file(RENAME): Add option to not replace existing path
Add a `NO_REPLACE` option that prevents overwriting `<newname>` if it exists.
This commit is contained in:
@@ -2,4 +2,5 @@ file-RENAME
|
||||
-----------
|
||||
|
||||
* The :command:`file(RENAME)` command learned to optionally capture
|
||||
failure in a result variable.
|
||||
failure in a result variable. It also gained a ``NO_REPLACE``
|
||||
option to fail if the destination exists.
|
||||
|
||||
Reference in New Issue
Block a user