Changeset View
Changeset View
Standalone View
Standalone View
src/test/CMakeLists.txt
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | add_executable(test_bitcoin | ||||
timedata_tests.cpp | timedata_tests.cpp | ||||
# transaction_tests.cpp | # transaction_tests.cpp | ||||
txvalidationcache_tests.cpp | txvalidationcache_tests.cpp | ||||
versionbits_tests.cpp | versionbits_tests.cpp | ||||
uint256_tests.cpp | uint256_tests.cpp | ||||
undo_tests.cpp | undo_tests.cpp | ||||
univalue_tests.cpp | univalue_tests.cpp | ||||
util_tests.cpp | util_tests.cpp | ||||
utxocommit_tests.cpp | |||||
validation_tests.cpp | validation_tests.cpp | ||||
) | ) | ||||
find_package(Boost 1.58 REQUIRED unit_test_framework) | find_package(Boost 1.58 REQUIRED unit_test_framework) | ||||
target_link_libraries(test_bitcoin Boost::unit_test_framework rpcclient server) | target_link_libraries(test_bitcoin Boost::unit_test_framework rpcclient server) | ||||
# FIXME: We need to detect if that flag is required. For now assume it is. | # FIXME: We need to detect if that flag is required. For now assume it is. | ||||
target_compile_definitions(test_bitcoin PRIVATE BOOST_TEST_DYN_LINK) | target_compile_definitions(test_bitcoin PRIVATE BOOST_TEST_DYN_LINK) | ||||
if(BUILD_BITCOIN_WALLET) | if(BUILD_BITCOIN_WALLET) | ||||
target_link_libraries(test_bitcoin test_wallet) | target_link_libraries(test_bitcoin test_wallet) | ||||
endif() | endif() |