summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen/deb.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-26 10:51:59 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-26 10:52:06 (GMT)
commitb16b25484545e8186eb8d52760386b6ab531b9c2 (patch)
treed327866bb4a5d0bca41e060f4aed4fa3f418afc9 /Help/cpack_gen/deb.rst
parent71a68ece89b10189f6d872b8a075031072ed58bf (diff)
parentd8a3939aef44f6176ac3ec03fb8cdd396fa96ca3 (diff)
downloadCMake-b16b25484545e8186eb8d52760386b6ab531b9c2.zip
CMake-b16b25484545e8186eb8d52760386b6ab531b9c2.tar.gz
CMake-b16b25484545e8186eb8d52760386b6ab531b9c2.tar.bz2
Merge topic 'dbgsym-packaging'
d8a3939aef CPack/Deb: Add ability to split out debug symbols into .ddeb package 42fbff45e4 CPack/Deb: Use CMAKE_COMMAND to set the environment 66ab24a4c5 Help: Fix typo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2399
Diffstat (limited to 'Help/cpack_gen/deb.rst')
-rw-r--r--Help/cpack_gen/deb.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Help/cpack_gen/deb.rst b/Help/cpack_gen/deb.rst
index 37d750d..26021cc 100644
--- a/Help/cpack_gen/deb.rst
+++ b/Help/cpack_gen/deb.rst
@@ -518,6 +518,26 @@ 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.
+Packaging of debug information
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Dbgsym packages contain debug symbols for debugging packaged binaries.
+
+Dbgsym packaging has its own set of variables:
+
+.. variable:: CPACK_DEBIAN_DEBUGINFO_PACKAGE
+ CPACK_DEBIAN_<component>_DEBUGINFO_PACKAGE
+
+ Enable generation of dbgsym .ddeb package(s).
+
+ * Mandatory : NO
+ * Default : OFF
+
+.. note::
+
+ Binaries must contain debug symbols before packaging so use either ``Debug``
+ or ``RelWithDebInfo`` for :variable:`CMAKE_BUILD_TYPE` variable value.
+
Building Debian packages on Windows
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^