mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
CPack/DEB: Add Multi-Arch support
Add support for Multi-Arch in control files of Debian packages. Valid values: same, foreign, allowed Fixes: #21445
This commit is contained in:
committed by
Brad King
parent
a022705a2e
commit
55524c48a4
@@ -654,6 +654,31 @@ List of CPack DEB generator specific variables:
|
||||
This value is not interpreted. It is possible to pass an optional
|
||||
revision number of the referenced source package as well.
|
||||
|
||||
.. variable:: CPACK_DEBIAN_PACKAGE_MULTIARCH
|
||||
CPACK_DEBIAN_<COMPONENT>_PACKAGE_MULTIARCH
|
||||
|
||||
Sets the `Multi-Arch` field of the Debian package.
|
||||
Packages can declare in their control file how they should handle
|
||||
situations, where packages for different architectures are being installed
|
||||
on the same machine.
|
||||
|
||||
:Mandatory: No
|
||||
:Default:
|
||||
|
||||
- An empty string for non-component based installations
|
||||
- :variable:`CPACK_DEBIAN_PACKAGE_MULTIARCH` for component-based
|
||||
installations.
|
||||
|
||||
.. versionadded:: 3.31
|
||||
Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_MULTIARCH` variables.
|
||||
|
||||
See https://wiki.debian.org/MultiArch/Hints
|
||||
|
||||
.. note::
|
||||
|
||||
This value is validated. It must be one of the following values:
|
||||
``same``, ``foreign``, ``allowed``.
|
||||
|
||||
Packaging of debug information
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
cpack-debian-multiarch
|
||||
----------------------
|
||||
|
||||
* The :cpack_gen:`CPack DEB Generator` gained a
|
||||
:variable:`CPACK_DEBIAN_PACKAGE_MULTIARCH` option
|
||||
to support multi-arch packages.
|
||||
Reference in New Issue
Block a user