diff options
author | Brad King <brad.king@kitware.com> | 2021-03-04 13:13:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-04 13:49:48 (GMT) |
commit | 9bf40d8027ec9fb91ad995919f6db673c15558dc (patch) | |
tree | 2bac35f6c7d1be1e0788724ca86d1a3d9e5c43e2 /Help/release | |
parent | 3600c6cd8c09e501faa06be5f98465e994d51569 (diff) | |
download | CMake-9bf40d8027ec9fb91ad995919f6db673c15558dc.zip CMake-9bf40d8027ec9fb91ad995919f6db673c15558dc.tar.gz CMake-9bf40d8027ec9fb91ad995919f6db673c15558dc.tar.bz2 |
file(RENAME): Add option to not replace existing path
Add a `NO_REPLACE` option that prevents overwriting `<newname>`
if it exists.
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/file-RENAME.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/release/dev/file-RENAME.rst b/Help/release/dev/file-RENAME.rst index 6cde036..6c1314d 100644 --- a/Help/release/dev/file-RENAME.rst +++ b/Help/release/dev/file-RENAME.rst @@ -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. |