summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-11-16 13:03:02 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-16 14:15:01 (GMT)
commited519b1cba24cddb8669a5d29c45ee2e1aa372c9 (patch)
tree220e41200319132bbba2a8dfdc0e60fdee322f97 /Help
parent88c4006f054bd3a2233ce607e22d961f106c3512 (diff)
downloadCMake-ed519b1cba24cddb8669a5d29c45ee2e1aa372c9.zip
CMake-ed519b1cba24cddb8669a5d29c45ee2e1aa372c9.tar.gz
CMake-ed519b1cba24cddb8669a5d29c45ee2e1aa372c9.tar.bz2
file(ARCHIVE_CREATE): Allow higher compression level for Zstd
This allows the Zstd compression-level to be set between 0-19. I've adjusted some of the tests, and error messages to indicates the selected algorithm, and min/max of its compression-level. Fixes: #24160
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 673125d..2348937 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -1214,6 +1214,9 @@ directed to do so with the ``COMPRESSION`` option. Valid values for
The ``<compression-level>`` should be between 0-9, with the default being 0.
The ``COMPRESSION`` option must be present when ``COMPRESSION_LEVEL`` is given.
+.. versionadded:: 3.26
+ The ``<compression-level>`` of the ``Zstd`` algorithm can be set between 0-19.
+
.. note::
With ``FORMAT`` set to ``raw`` only one file will be compressed with the
compression type specified by ``COMPRESSION``.