-
Couldn't load subscription status.
- Fork 38.1k
msvc: Rename libbitcoinconsensus to libbitcoin_consensus and other adjustments
#27615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
This build artifact is not a user-exposed shared library (DLL) but a convenience static library. See: https://github.com/bitcoin/bitcoin/blob/master/doc/design/libraries.md -BEGIN VERIFY SCRIPT- sed -i 's/libbitcoinconsensus/libbitcoin_consensus/g' $(git grep -l "libbitcoinconsensus" -- build_msvc) git mv build_msvc/libbitcoinconsensus build_msvc/libbitcoin_consensus git mv build_msvc/libbitcoin_consensus/libbitcoinconsensus.vcxproj build_msvc/libbitcoin_consensus/libbitcoin_consensus.vcxproj -END VERIFY SCRIPT-
See `libbitcoin_consensus_a_SOURCES` in the `src/Makefile.am`.
The `HAVE_CONSENSUS_LIB` symbol is supposed to be defined when a user-exposed shared library (DLL) is built which is not the case here.
|
Other than renaming things, what does this acheive? Unclear it's worth doing if everything done here is going to be thrown away when we switch to CMake. |
|
As the rename makes the naming more correct seems reasonable to me. ACK a94d75f. |
The current Autotools-based build system operates with two build artifacts:
LIBBITCOIN_CONSENSUSwhich is defined as "Stable, backwards-compatible consensus functionality used by libbitcoin_node and libbitcoin_wallet"LIBBITCOINCONSENSUSwhich is defined as "Shared library build of static libbitcoin_consensus library"The way how the
libbitcoinconsensus.vcxprojproject is used in the MSVC build system obviously shows that it is the former use case.This PR makes the related adjustments to the MSVC build system.