mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-14 01:27:24 +02:00
CMake version 4.3 deprecated the imported target `Sqlite::Sqlite3`. Use the preferred name `Sqlite3::Sqlite3` instead and provide an alias for older versions of CMake. Also define the same alias when using vcpkg.
46 lines
969 B
CMake
46 lines
969 B
CMake
# 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
|
|
coincontrol.cpp
|
|
coinselection.cpp
|
|
context.cpp
|
|
crypter.cpp
|
|
db.cpp
|
|
dump.cpp
|
|
external_signer_scriptpubkeyman.cpp
|
|
feebumper.cpp
|
|
fees.cpp
|
|
interfaces.cpp
|
|
load.cpp
|
|
migrate.cpp
|
|
receive.cpp
|
|
rpc/addresses.cpp
|
|
rpc/backup.cpp
|
|
rpc/coins.cpp
|
|
rpc/encrypt.cpp
|
|
rpc/signmessage.cpp
|
|
rpc/spend.cpp
|
|
rpc/transactions.cpp
|
|
rpc/util.cpp
|
|
rpc/wallet.cpp
|
|
scriptpubkeyman.cpp
|
|
spend.cpp
|
|
sqlite.cpp
|
|
transaction.cpp
|
|
wallet.cpp
|
|
walletdb.cpp
|
|
walletutil.cpp
|
|
)
|
|
target_link_libraries(bitcoin_wallet
|
|
PRIVATE
|
|
core_interface
|
|
bitcoin_common
|
|
SQLite3::SQLite3
|
|
univalue
|
|
Boost::headers
|
|
$<TARGET_NAME_IF_EXISTS:USDT::headers>
|
|
)
|