HomePhabricator

[CMAKE] Move version to the top level CMakeLists.txt

Description

[CMAKE] Move version to the top level CMakeLists.txt

Summary:
Apart from making it easier to figure out where it is located, it will
also avoid duplicating it when using CPack.

Depends on D4027.

Test Plan:

ninja

Check the version is correct:

./src/bitcoind --version
./src/qt/bitcoin-qt --version
./src/bitcoin-cli --version
./src/bitcoin-tx -h

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
FabienAuthored on Sep 10 2019, 14:57
FabienPushed on Sep 11 2019, 19:16
Reviewer
Restricted Project
Differential Revision
D4028: [CMAKE] Move version to the top level CMakeLists.txt
Parents
rABCe43e4bb9c56b: [CMAKE] Rename the top-level and `src/` cmake projects
Branches
Unknown
Tags
Unknown