Skip to content

Commit

Permalink
wallet: add initial cmake support
Browse files Browse the repository at this point in the history
  • Loading branch information
aleflm committed Dec 23, 2024
1 parent caecd4c commit f600785
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/wallet/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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/.

# Wallet functionality used by bitcoind and bitcoin-wallet executables.
add_library(bitcoin_wallet STATIC EXCLUDE_FROM_ALL
authhelper.cpp
bip39.cpp
crypter.cpp
db.cpp
lelantusjoinsplitbuilder.cpp
mnemoniccontainer.cpp
rpcdump.cpp
rpcwallet.cpp
sigmaspendbuilder.cpp
txbuilder.cpp
wallet.cpp
walletdb.cpp
walletexcept.cpp
)

target_link_libraries(bitcoin_wallet
PRIVATE
core_interface
bitcoin_common
univalue
Boost::headers
$<TARGET_NAME_IF_EXISTS:USDT::headers>
)

# Firo only supports BDB for wallet storage.
target_sources(bitcoin_wallet PRIVATE bdb.cpp salvage.cpp)
target_link_libraries(bitcoin_wallet PUBLIC BerkeleyDB::BerkeleyDB)

0 comments on commit f600785

Please sign in to comment.