diff options
author | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-10 08:49:05 (GMT) |
---|---|---|
committer | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-12 04:44:02 (GMT) |
commit | f6fd769ae91accd6b54400b79ec797a3870cc87a (patch) | |
tree | e91c44d510a9caa1cee8afe69a7b654189212b77 /Help/cpack_gen/archive.rst | |
parent | a19058d7d8f86c8f91e294f6fc520fe97841e721 (diff) | |
download | CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.zip CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.tar.gz CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.tar.bz2 |
Help: Add `.. versionadded` directives to CPack generator docs
Issue: #19715
Diffstat (limited to 'Help/cpack_gen/archive.rst')
-rw-r--r-- | Help/cpack_gen/archive.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/cpack_gen/archive.rst b/Help/cpack_gen/archive.rst index 3656aa2..98b24ea 100644 --- a/Help/cpack_gen/archive.rst +++ b/Help/cpack_gen/archive.rst @@ -12,6 +12,12 @@ any of the following formats: - TZST (.tar.zst) - ZIP (.zip) +.. versionadded:: 3.1 + ``7Z`` and ``TXZ`` formats support. + +.. versionadded:: 3.16 + ``TZST`` format support. + When this generator is called from ``CPackSourceConfig.cmake`` (or through the ``package_source`` target), then the generated archive will contain all files in the project directory, except those specified in @@ -46,6 +52,9 @@ Variables specific to CPack Archive generator The default is ``<CPACK_PACKAGE_FILE_NAME>[-<component>]``, with spaces replaced by '-'. + .. versionadded:: 3.9 + Per-component ``CPACK_ARCHIVE_<component>_FILE_NAME`` variables. + .. variable:: CPACK_ARCHIVE_COMPONENT_INSTALL Enable component packaging. If enabled (ON), then the archive generator @@ -63,6 +72,8 @@ CPack generators which are essentially archives at their core. These include: .. variable:: CPACK_ARCHIVE_THREADS + .. versionadded:: 3.18 + The number of threads to use when performing the compression. If set to ``0``, the number of available cores on the machine will be used instead. The default is ``1`` which limits compression to a single thread. Note that |