Separate version info into bitcoin-version.h from bitcoin-config.h
Summary:
This would avoid rebuilding the whole source tree at each version
change.
Test Plan:
./autogen.sh mkdir build && cd build ../configure make check rm -rf * CONFIG_SITE=../depends/i686-w64-mingw32/share/config.site ../configure \ --with-seeder=false make rm -rf * CONFIG_SITE=../depends/x86_64-w64-mingw32/share/config.site \ ../configure --with-seeder=false make cd .. && mkdir buildcmake && cd buildcmake cmake -GNinja .. ninja check rm -rf * cmake -GNinja .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win32.cmake \ -DBUILD_BITCOIN_SEEDER=OFF ninja rm -rf * cmake -GNinja .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win64.cmake \ -DBUILD_BITCOIN_SEEDER=OFF ninja
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D3056