Changeset View
Changeset View
Standalone View
Standalone View
src/bench/CMakeLists.txt
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | add_executable(bitcoin-bench | ||||
duplicate_inputs.cpp | duplicate_inputs.cpp | ||||
examples.cpp | examples.cpp | ||||
gcs_filter.cpp | gcs_filter.cpp | ||||
hashpadding.cpp | hashpadding.cpp | ||||
lockedpool.cpp | lockedpool.cpp | ||||
mempool_eviction.cpp | mempool_eviction.cpp | ||||
mempool_stress.cpp | mempool_stress.cpp | ||||
merkle_root.cpp | merkle_root.cpp | ||||
nanobench.cpp | |||||
poly1305.cpp | poly1305.cpp | ||||
prevector.cpp | prevector.cpp | ||||
rollingbloom.cpp | rollingbloom.cpp | ||||
rpc_blockchain.cpp | rpc_blockchain.cpp | ||||
rpc_mempool.cpp | rpc_mempool.cpp | ||||
util_time.cpp | util_time.cpp | ||||
verify_script.cpp | verify_script.cpp | ||||
Show All 11 Lines | if(BUILD_BITCOIN_WALLET) | ||||
) | ) | ||||
target_link_libraries(bitcoin-bench wallet) | target_link_libraries(bitcoin-bench wallet) | ||||
endif() | endif() | ||||
include(InstallationHelper) | include(InstallationHelper) | ||||
install_target(bitcoin-bench EXCLUDE_FROM_ALL) | install_target(bitcoin-bench EXCLUDE_FROM_ALL) | ||||
include(TestSuite) | include(TestSuite) | ||||
if(ENABLE_JUNIT_REPORT) | |||||
set(JUNIT_ARGS -printer=junit > "${JUNIT_REPORT_DIRECTORY}/bench-bitcoin.xml") | |||||
endif() | |||||
add_test_custom_target(bench-bitcoin | add_test_custom_target(bench-bitcoin | ||||
TEST_COMMAND | TEST_COMMAND | ||||
"$<TARGET_FILE:bitcoin-bench>" | "$<TARGET_FILE:bitcoin-bench>" | ||||
${JUNIT_ARGS} | |||||
CUSTOM_TARGET_ARGS | CUSTOM_TARGET_ARGS | ||||
DEPENDS bitcoin-bench | DEPENDS bitcoin-bench | ||||
USES_TERMINAL | USES_TERMINAL | ||||
) | ) |