diff options
author | Andrew Fuller <afuller@teradici.com> | 2018-09-18 17:57:27 (GMT) |
---|---|---|
committer | Andrew Fuller <afuller@teradici.com> | 2018-09-21 20:19:31 (GMT) |
commit | d8a3939aef44f6176ac3ec03fb8cdd396fa96ca3 (patch) | |
tree | 3efba7fbf8d9fdee86b568a50604d31ed2178173 /Help | |
parent | 42fbff45e4529d3cfbeb3cbcef8c5616df3f06f1 (diff) | |
download | CMake-d8a3939aef44f6176ac3ec03fb8cdd396fa96ca3.zip CMake-d8a3939aef44f6176ac3ec03fb8cdd396fa96ca3.tar.gz CMake-d8a3939aef44f6176ac3ec03fb8cdd396fa96ca3.tar.bz2 |
CPack/Deb: Add ability to split out debug symbols into .ddeb package
Diffstat (limited to 'Help')
-rw-r--r-- | Help/cpack_gen/deb.rst | 20 | ||||
-rw-r--r-- | Help/release/dev/cpack-deb-dbgsym-ddeb.rst | 6 |
2 files changed, 26 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/Help/release/dev/cpack-deb-dbgsym-ddeb.rst b/Help/release/dev/cpack-deb-dbgsym-ddeb.rst new file mode 100644 index 0000000..dc3e96e --- /dev/null +++ b/Help/release/dev/cpack-deb-dbgsym-ddeb.rst @@ -0,0 +1,6 @@ +cpack-deb-dbgsym-ddeb +--------------------- + +* The :cpack_gen:`CPack Deb Generator` learned to split debug symbols into + a corresponding .ddeb package when ``CPACK_DEBIAN_DEBUGINFO_PACKAGE`` is + set. |