diff options
author | Yuri Witte <witte@tuta.io> | 2024-09-05 08:06:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-09-11 13:52:32 (GMT) |
commit | d8a9aabd24a471ab82f3742e7d38754bdd47a480 (patch) | |
tree | de68df4a38d25478315d647b7b1bb22a50145278 /Help | |
parent | d65b5a8e035f6055975f939dc69a18275a6daab4 (diff) | |
download | CMake-d8a9aabd24a471ab82f3742e7d38754bdd47a480.zip CMake-d8a9aabd24a471ab82f3742e7d38754bdd47a480.tar.gz CMake-d8a9aabd24a471ab82f3742e7d38754bdd47a480.tar.bz2 |
file(ARCHIVE_CREATE): add WORKING_DIRECTORY option
Fixes: #25260
Issue: #21653
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/file.rst | 9 | ||||
-rw-r--r-- | Help/release/dev/file-archive-workdir.rst | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index b7d3413..315762e 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -903,6 +903,7 @@ Archiving [COMPRESSION <compression> [COMPRESSION_LEVEL <compression-level>]] [MTIME <mtime>] + [WORKING_DIRECTORY <dir>] [VERBOSE]) :target: ARCHIVE_CREATE :break: verbatim @@ -946,6 +947,14 @@ Archiving ``MTIME <mtime>`` Specify the modification time recorded in tarball entries. + ``WORKING_DIRECTORY <dir>`` + .. versionadded:: 3.31 + + Specify the directory in which the archive creation operation will + be executed. Paths in the ``<paths>`` argument can be relative to + this directory. If this option is not provided, the current working + directory will be used by default. + ``VERBOSE`` Enable verbose output from the archive operation. diff --git a/Help/release/dev/file-archive-workdir.rst b/Help/release/dev/file-archive-workdir.rst new file mode 100644 index 0000000..baf4a22 --- /dev/null +++ b/Help/release/dev/file-archive-workdir.rst @@ -0,0 +1,5 @@ +file-archive-workdir +-------------------- + +* The :command:`file(ARCHIVE_CREATE)` command gained a ``WORKING_DIRECTORY`` + option to specify a working directory for the archiving process. |