HomePhabricator

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

Authored by Fabien on Tue, Sep 10, 14:57.

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

Committed
FabienWed, Sep 11, 19:16
Pushed
FabienWed, Sep 11, 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