HomePhabricator

[CMAKE] Use CPack to build source packages

Description

[CMAKE] Use CPack to build source packages

Summary:
This diff adds a new package_source build target, which creates a
tar.gz archive of the source files.
The archive contains all the files required to build the software with
autotools or cmake. The output is then slightly different from the
output of autotools' make dist.

Depends on D4267.

Test Plan:

ninja package_source

Use the archive to build the software with autotools and cmake.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Oct 18 2019, 15:28
FabienPushed on Oct 23 2019, 09:58
Reviewer
Restricted Project
Differential Revision
D4273: [CMAKE] Use CPack to build source packages
Parents
rSTAGING5928cdaa5b2c: [CMAKE] Use CPack to build packages
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/13661, tag: phabricator/base/13657, tag: phabricator/base/13656, tag: phabricator/base/13655, tag: phabricator/base/13654