HomePhabricator

[CMAKE] Use a stripped binary to build the dist and DMG for OSX

Description

[CMAKE] Use a stripped binary to build the dist and DMG for OSX

Summary:
This diff creates a copy of the bitcoin-qt application bundle on OSX,
and strip the executable inside.
This stripped version is then use to build the DMG image.

Depends on D4437.

Test Plan:
Build for OSX:

ninja osx-dmg

Check there is a src/qt/stripped directory containing a copy of the
bundle with a stripped binary inside.
Check the dist and DMG binary is stripped.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4438

Details

Provenance
FabienAuthored on Nov 13 2019, 07:13
FabienPushed on Nov 18 2019, 12:16
Reviewer
Restricted Project
Differential Revision
D4438: [CMAKE] Use a stripped binary to build the dist and DMG for OSX
Parents
rABC54886a6c6083: [CMAKE] Only build the bitcoin-qt application bundle on OSX
Branches
Unknown
Tags
Unknown