mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 22:00:10 -05:00
CPack: Format CPACK_THREADS compression methods as a definition list
Prepare to add more entries beyond `xz`.
This commit is contained in:
+12
-7
@@ -304,15 +304,20 @@ installers. The most commonly-used variables are:
|
||||
|
||||
By default ``CPACK_THREADS`` is set to ``1``.
|
||||
|
||||
Currently only ``xz`` compression *may* take advantage of multiple cores.
|
||||
The following compression methods may take advantage of multiple cores:
|
||||
|
||||
``xz``
|
||||
Supported if CMake is built with a ``liblzma`` that supports
|
||||
parallel compression.
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Official CMake binaries available on ``cmake.org`` now ship
|
||||
with a ``liblzma`` that supports parallel compression.
|
||||
Older versions did not.
|
||||
|
||||
Other compression methods ignore this value and use only one thread.
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Official CMake binaries available on ``cmake.org`` now ship
|
||||
with a ``liblzma`` that supports parallel compression.
|
||||
Older versions did not.
|
||||
|
||||
Variables for Source Package Generators
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user