|
|
@@ -55,25 +55,39 @@ Variables specific to CPack Archive generator
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
.. variable:: CPACK_ARCHIVE_FILE_NAME
|
|
|
- CPACK_ARCHIVE_<component>_FILE_NAME
|
|
|
|
|
|
- Package file name without extension.
|
|
|
+ .. versionadded:: 3.9
|
|
|
|
|
|
- :Default: The default is ``<CPACK_PACKAGE_FILE_NAME>[-<component>]``, with spaces
|
|
|
- replaced by '-'.
|
|
|
+ Archive name for component-based packages, without extension.
|
|
|
|
|
|
- The extension is determined from the archive format (see list above) and
|
|
|
- automatically appended to the file name. Note that ``<component>`` is all
|
|
|
- uppercase in the variable name.
|
|
|
+ :Default: :variable:`CPACK_PACKAGE_FILE_NAME`
|
|
|
+
|
|
|
+ The extension is appended automatically.
|
|
|
+
|
|
|
+ If :variable:`CPACK_COMPONENTS_GROUPING` is set to ``ALL_COMPONENTS_IN_ONE``,
|
|
|
+ this will be the name of the one output archive.
|
|
|
+
|
|
|
+ .. versionchanged:: 4.0
|
|
|
+
|
|
|
+ This variable also works for non-component packages.
|
|
|
+
|
|
|
+.. variable:: CPACK_ARCHIVE_<component>_FILE_NAME
|
|
|
|
|
|
.. versionadded:: 3.9
|
|
|
- Per-component :variable:`!CPACK_ARCHIVE_<component>_FILE_NAME` variables.
|
|
|
+
|
|
|
+ Component archive name without extension.
|
|
|
+
|
|
|
+ :Default: ``<CPACK_ARCHIVE_FILE_NAME>-<component>``, with spaces replaced
|
|
|
+ by ``'-'``.
|
|
|
+
|
|
|
+ The extension is appended automatically. Note that ``<component>`` is all
|
|
|
+ uppercase in the variable name.
|
|
|
|
|
|
.. variable:: CPACK_ARCHIVE_FILE_EXTENSION
|
|
|
|
|
|
.. versionadded:: 3.25
|
|
|
|
|
|
- Package file extension.
|
|
|
+ Archive file extension.
|
|
|
|
|
|
:Default: Default values are given in the list above.
|
|
|
|
|
|
@@ -97,10 +111,10 @@ CPack generators which are essentially archives at their core. These include:
|
|
|
|
|
|
.. variable:: CPACK_ARCHIVE_THREADS
|
|
|
|
|
|
- The number of threads to use when performing the compression.
|
|
|
-
|
|
|
.. versionadded:: 3.18
|
|
|
|
|
|
+ The number of threads to use when performing the compression.
|
|
|
+
|
|
|
:Default: value of :variable:`CPACK_THREADS`
|
|
|
|
|
|
If set to ``0``, the number of available cores on the machine will be used instead.
|