mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
cmake: Build bitcoin_util
static library
This commit is contained in:
parent
0a9a521a70
commit
809a2f1929
2 changed files with 46 additions and 0 deletions
|
@ -30,6 +30,7 @@ add_dependencies(bitcoin_clientversion generate_build_info)
|
||||||
|
|
||||||
add_subdirectory(crypto)
|
add_subdirectory(crypto)
|
||||||
add_subdirectory(univalue)
|
add_subdirectory(univalue)
|
||||||
|
add_subdirectory(util)
|
||||||
|
|
||||||
#=============================
|
#=============================
|
||||||
# secp256k1 subtree
|
# secp256k1 subtree
|
||||||
|
|
45
src/util/CMakeLists.txt
Normal file
45
src/util/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Copyright (c) 2023-present The Bitcoin Core developers
|
||||||
|
# Distributed under the MIT software license, see the accompanying
|
||||||
|
# file COPYING or https://opensource.org/license/mit/.
|
||||||
|
|
||||||
|
add_library(bitcoin_util STATIC EXCLUDE_FROM_ALL
|
||||||
|
asmap.cpp
|
||||||
|
batchpriority.cpp
|
||||||
|
bip32.cpp
|
||||||
|
bytevectorhash.cpp
|
||||||
|
chaintype.cpp
|
||||||
|
check.cpp
|
||||||
|
exception.cpp
|
||||||
|
feefrac.cpp
|
||||||
|
fs.cpp
|
||||||
|
fs_helpers.cpp
|
||||||
|
hasher.cpp
|
||||||
|
moneystr.cpp
|
||||||
|
rbf.cpp
|
||||||
|
readwritefile.cpp
|
||||||
|
serfloat.cpp
|
||||||
|
signalinterrupt.cpp
|
||||||
|
sock.cpp
|
||||||
|
strencodings.cpp
|
||||||
|
string.cpp
|
||||||
|
syserror.cpp
|
||||||
|
thread.cpp
|
||||||
|
threadinterrupt.cpp
|
||||||
|
threadnames.cpp
|
||||||
|
time.cpp
|
||||||
|
tokenpipe.cpp
|
||||||
|
../logging.cpp
|
||||||
|
../random.cpp
|
||||||
|
../randomenv.cpp
|
||||||
|
../streams.cpp
|
||||||
|
../support/lockedpool.cpp
|
||||||
|
../sync.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(bitcoin_util
|
||||||
|
PRIVATE
|
||||||
|
core_interface
|
||||||
|
bitcoin_clientversion
|
||||||
|
bitcoin_crypto
|
||||||
|
$<$<PLATFORM_ID:Windows>:ws2_32>
|
||||||
|
)
|
Loading…
Add table
Reference in a new issue