CMakeLists.txt raw

   1  # Copyright (c) 2023-present The Bitcoin Core developers
   2  # Distributed under the MIT software license, see the accompanying
   3  # file COPYING or https://opensource.org/license/mit/.
   4  
   5  # Do not use generator expressions in test sources because the
   6  # SOURCES property is processed to gather test suite macros.
   7  target_sources(test_bitcoin
   8    PRIVATE
   9      init_test_fixture.cpp
  10      wallet_test_fixture.cpp
  11      db_tests.cpp
  12      coinselector_tests.cpp
  13      coinselection_tests.cpp
  14      feebumper_tests.cpp
  15      group_outputs_tests.cpp
  16      init_tests.cpp
  17      ismine_tests.cpp
  18      psbt_wallet_tests.cpp
  19      scriptpubkeyman_tests.cpp
  20      spend_tests.cpp
  21      wallet_crypto_tests.cpp
  22      wallet_rpc_tests.cpp
  23      wallet_tests.cpp
  24      wallet_transaction_tests.cpp
  25      walletdb_tests.cpp
  26      walletload_tests.cpp
  27  )
  28  target_link_libraries(test_bitcoin bitcoin_wallet)
  29