HomePhabricator

[CMAKE] Use CPack to build source packages

Authored by Fabien on Oct 18 2019, 15:28.

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

Committed
FabienOct 23 2019, 09:14
Pushed
FabienOct 23 2019, 09:14
Reviewer
Restricted Project
Differential Revision
D4273: [CMAKE] Use CPack to build source packages
Parents
rABC5928cdaa5b2c: [CMAKE] Use CPack to build packages
Branches
Unknown
Tags
Unknown