summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen/ifw.rst
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@innova.no>2021-10-26 20:57:56 (GMT)
committerErlend E. Aasland <erlend.aasland@innova.no>2021-10-28 13:46:22 (GMT)
commit62ef2729eeb9dbe636b4e1ae57cfdb6998d251f3 (patch)
treed10fab0fba367121834ca1fc59c0437884871852 /Help/cpack_gen/ifw.rst
parenta3791b24c9a84788ae426697c768f5126fab8c75 (diff)
downloadCMake-62ef2729eeb9dbe636b4e1ae57cfdb6998d251f3.zip
CMake-62ef2729eeb9dbe636b4e1ae57cfdb6998d251f3.tar.gz
CMake-62ef2729eeb9dbe636b4e1ae57cfdb6998d251f3.tar.bz2
CPackIFW: add support for archive format and compression level options
Adds the following CPackIFW variables: - CPACK_IFW_ARCHIVE_FORMAT - CPACK_IFW_ARCHIVE_COMPRESSION These variables control mirror the --archive-format and --compression options of the QtIFW binarycreator and repogen tools. Fixes: #22803 Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> Co-authored-by: Awen Autret
Diffstat (limited to 'Help/cpack_gen/ifw.rst')
-rw-r--r--Help/cpack_gen/ifw.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/Help/cpack_gen/ifw.rst b/Help/cpack_gen/ifw.rst
index 6b8bc26..8bfcd98 100644
--- a/Help/cpack_gen/ifw.rst
+++ b/Help/cpack_gen/ifw.rst
@@ -292,6 +292,46 @@ Package
This feature is available for QtIFW 4.0.0 and newer.
+.. variable:: CPACK_IFW_ARCHIVE_FORMAT
+
+ .. versionadded:: 3.23
+
+ Set the format used when packaging new component data archives. If you omit
+ this option, the ``7z`` format will be used as a default. Supported formats:
+
+ * 7z
+ * zip
+ * tar.gz
+ * tar.bz2
+ * tar.xz
+
+ .. note::
+
+ If the Qt Installer Framework tools were built without libarchive support,
+ only ``7z`` format is supported.
+
+ This feature is available for QtIFW 4.2.0 and newer.
+
+.. variable:: CPACK_IFW_ARCHIVE_COMPRESSION
+
+ .. versionadded:: 3.23
+
+ Archive compression level. Defaults to 5 (*Normal compression*).
+
+ * 0 (*No compression*)
+ * 1 (*Fastest compressing*)
+ * 3 (*Fast compressing*)
+ * 5 (*Normal compressing*)
+ * 7 (*Maximum compressing*)
+ * 9 (*Ultra compressing*)
+
+ .. note::
+
+ Some formats do not support all the possible values. For example ``zip``
+ compression only supports values from 1 to 7.
+
+ This feature is available for QtIFW 4.2.0 and newer.
+
Components
""""""""""