This diff adds a new package build target, which creates one or more
output suitable for installation. For now limited to building a tar.gz
or zip archive of an installation directory, more coming later.
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING5928cdaa5b2c: [CMAKE] Use CPack to build packages
rABC5928cdaa5b2c: [CMAKE] Use CPack to build packages
On all platforms:
ninja package
Check the archive output is consistent with the items delivered in our
release binaries archives (requires D4229 for the libbitcoinconsensus
lib and include).
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
cmake/modules/PackageOptions.cmake | ||
---|---|---|
3 ↗ | (On Diff #13608) | Seeing as the PROJECT_HOMEPAGE_URL lives somewhere else, shouldn't the vendor and description live in a similar common place also? |
6 ↗ | (On Diff #13608) | any reason for the capital 'B'? Seems like this should be Bitcoin-ABC or bitcoin-abc, not a mix of those. |
cmake/modules/PackageOptions.cmake | ||
---|---|---|
3 ↗ | (On Diff #13608) | The PROJECT_HOMEPAGE_URL is defined by the top-level project() declaration. There is no such thing for the description. |
6 ↗ | (On Diff #13608) | This is only to match autotools. I agree it's a bit weird, but if you run an installer from autotools it will install into a Bitcoin-abc directory. |
Thanks for explaining. I think there's some minor improvements we can make later, but they don't need to block this diff specifically.