Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | install_shared_library(bitcoinconsensus | ||||
PUBLIC_HEADER script/bitcoinconsensus.h | PUBLIC_HEADER script/bitcoinconsensus.h | ||||
) | ) | ||||
endif() | endif() | ||||
# Bitcoin server facilities | # Bitcoin server facilities | ||||
add_library(server | add_library(server | ||||
addrdb.cpp | addrdb.cpp | ||||
addrman.cpp | addrman.cpp | ||||
avalanche.cpp | avalanche/avalanche.cpp | ||||
banman.cpp | banman.cpp | ||||
blockencodings.cpp | blockencodings.cpp | ||||
blockfilter.cpp | blockfilter.cpp | ||||
chain.cpp | chain.cpp | ||||
checkpoints.cpp | checkpoints.cpp | ||||
config.cpp | config.cpp | ||||
consensus/activation.cpp | consensus/activation.cpp | ||||
consensus/tx_verify.cpp | consensus/tx_verify.cpp | ||||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") | ||||
# supported. | # supported. | ||||
target_compile_definitions(server | target_compile_definitions(server | ||||
PUBLIC -DSTATICLIB | PUBLIC -DSTATICLIB | ||||
PUBLIC -DMINIUPNP_STATICLIB | PUBLIC -DMINIUPNP_STATICLIB | ||||
) | ) | ||||
endif() | endif() | ||||
endif() | endif() | ||||
# Test suite. | # Test suites. | ||||
add_subdirectory(test) | add_subdirectory(test) | ||||
add_subdirectory(avalanche/test) | |||||
# Benchmark suite. | # Benchmark suite. | ||||
add_subdirectory(bench) | add_subdirectory(bench) | ||||
include(BinaryTest) | include(BinaryTest) | ||||
# Wallet | # Wallet | ||||
if(BUILD_BITCOIN_WALLET) | if(BUILD_BITCOIN_WALLET) | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |