Page MenuHomePhabricator

[CMAKE] Build the OSX application bundle for bitcoin qt
ClosedPublic

Authored by Fabien on Oct 24 2019, 08:29.

Details

Summary

When building/cross building for OSX, create an application bundle that
can run natively on OSX.
This is a first step toward generating an installer for OSX.

Test Plan

On OSX (or cross build):

ninja BitcoinABC-Qt

Check there is an app bundle (BitcoinABC-Qt.app) created under
src/qt.
Check on OSX that the bundle has the correct icon, details and can be
run.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Oct 24 2019, 08:29
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 24 2019, 08:29
Fabien edited the test plan for this revision. (Show Details)Oct 24 2019, 08:31
deadalnix requested changes to this revision.Oct 25 2019, 15:17
deadalnix added inline comments.
src/qt/CMakeLists.txt
306 ↗(On Diff #13681)

This needs to be prepossessed by cmake, and the result of the prepossessing passed down, no?

This revision now requires changes to proceed.Oct 25 2019, 15:17
Fabien requested review of this revision.Oct 25 2019, 16:18
Fabien added inline comments.
src/qt/CMakeLists.txt
306 ↗(On Diff #13681)

This is done automatically by cmake.
The template file is filled with the bundle properties below, this is a facility to merge 2 commands into 1.

deadalnix accepted this revision.Oct 29 2019, 22:51
This revision is now accepted and ready to land.Oct 29 2019, 22:51
This revision was automatically updated to reflect the committed changes.