mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 09:15:04 +02:00
cmake: Add wallet functionality
This commit is contained in:
@@ -154,6 +154,10 @@ target_link_libraries(test_bitcoin
|
||||
$<TARGET_NAME_IF_EXISTS:libevent::libevent>
|
||||
)
|
||||
|
||||
if(ENABLE_WALLET)
|
||||
add_subdirectory(${PROJECT_SOURCE_DIR}/src/wallet/test wallet)
|
||||
endif()
|
||||
|
||||
function(add_boost_test source_file)
|
||||
if(NOT EXISTS ${source_file})
|
||||
return()
|
||||
|
||||
@@ -17,6 +17,7 @@ add_library(test_util STATIC EXCLUDE_FROM_ALL
|
||||
transaction_utils.cpp
|
||||
txmempool.cpp
|
||||
validation.cpp
|
||||
$<$<BOOL:${ENABLE_WALLET}>:${PROJECT_SOURCE_DIR}/src/wallet/test/util.cpp>
|
||||
)
|
||||
|
||||
target_link_libraries(test_util
|
||||
|
||||
Reference in New Issue
Block a user