diff --git a/builds/cmake/CMakeLists.txt b/builds/cmake/CMakeLists.txt index 7deb96d1..0fb4fa03 100644 --- a/builds/cmake/CMakeLists.txt +++ b/builds/cmake/CMakeLists.txt @@ -100,10 +100,7 @@ set( libbitcoin_database_VERSION ${libbitcoin-database_VERSION} ) find_package( libbitcoin-network 4.0.0 REQUIRED ) set( libbitcoin_network_VERSION ${libbitcoin-network_VERSION} ) -find_package( Boost 1.86.0 REQUIRED - COMPONENTS - unit_test_framework -) +find_package( Boost 1.86.0 REQUIRED ) #------------------------------------------------------------------------------ # Compiler options. @@ -310,7 +307,7 @@ if ( with-tests ) target_link_libraries( libbitcoin-node-test PRIVATE - Boost::unit_test_framework + Boost::headers bitcoin::node ) diff --git a/builds/cmake/install-cmake.sh b/builds/cmake/install-cmake.sh index bf916c23..5acfaa9d 100755 --- a/builds/cmake/install-cmake.sh +++ b/builds/cmake/install-cmake.sh @@ -468,11 +468,7 @@ main() "-Wno-enum-constexpr-conversion") boost_OPTIONS=( - "--with-container" - "--with-json" - "--with-program_options" - "--with-url" - "--with-test") + "--with-headers") secp256k1_FLAGS=( "-w") diff --git a/builds/cmake/install-presets.sh b/builds/cmake/install-presets.sh index 1a098e09..4e200834 100755 --- a/builds/cmake/install-presets.sh +++ b/builds/cmake/install-presets.sh @@ -484,11 +484,7 @@ main() "-Wno-enum-constexpr-conversion") boost_OPTIONS=( - "--with-container" - "--with-json" - "--with-program_options" - "--with-url" - "--with-test") + "--with-headers") secp256k1_FLAGS=( "-w") diff --git a/builds/gnu/Makefile.am b/builds/gnu/Makefile.am index d55cf1a2..62e5f97c 100644 --- a/builds/gnu/Makefile.am +++ b/builds/gnu/Makefile.am @@ -204,17 +204,14 @@ check_PROGRAMS = test/libbitcoin-node-test test_libbitcoin_node_test_CPPFLAGS = \ ${boost_BUILD_CPPFLAGS} \ - ${boost_unit_test_framework_BUILD_CPPFLAGS} \ ${src_libbitcoin_node_la_CPPFLAGS} test_libbitcoin_node_test_LDFLAGS = \ ${boost_LDFLAGS} \ - ${boost_unit_test_framework_LDFLAGS} \ ${src_libbitcoin_node_la_LDFLAGS} test_libbitcoin_node_test_LDADD = \ ${boost_LIBS} \ - ${boost_unit_test_framework_LIBS} \ ${src_libbitcoin_node_la_LIBS} \ ${src_libbitcoin_node_la_LIBADD} diff --git a/builds/gnu/configure.ac b/builds/gnu/configure.ac index 5f0ff6b3..423fa869 100644 --- a/builds/gnu/configure.ac +++ b/builds/gnu/configure.ac @@ -290,13 +290,6 @@ AS_IF([test "x${enable_isystem}" != "xno"], AC_MSG_NOTICE([boost_BUILD_CPPFLAGS : ${boost_BUILD_CPPFLAGS}]) -AS_IF([(test "x${with_tests}" != "xno")], - [ - AX_BOOST_UNIT_TEST_FRAMEWORK - AC_SUBST([boost_unit_test_framework_LIBS], [${BOOST_UNIT_TEST_FRAMEWORK_LIB}]) - AC_MSG_NOTICE([boost_unit_test_framework_LIBS : ${boost_unit_test_framework_LIBS}]) - ]) - AC_CONFIG_FILES([ Makefile libbitcoin-node.pc diff --git a/builds/gnu/install-gnu.sh b/builds/gnu/install-gnu.sh index ecf1edb6..48643a4c 100755 --- a/builds/gnu/install-gnu.sh +++ b/builds/gnu/install-gnu.sh @@ -499,11 +499,7 @@ main() "-Wno-enum-constexpr-conversion") boost_OPTIONS=( - "--with-container" - "--with-json" - "--with-program_options" - "--with-url" - "--with-test") + "--with-headers") secp256k1_FLAGS=( "-w") diff --git a/builds/msvc/vs2026/libbitcoin-node-test/libbitcoin-node-test.vcxproj b/builds/msvc/vs2026/libbitcoin-node-test/libbitcoin-node-test.vcxproj index 53d037bf..11ab7ae5 100644 --- a/builds/msvc/vs2026/libbitcoin-node-test/libbitcoin-node-test.vcxproj +++ b/builds/msvc/vs2026/libbitcoin-node-test/libbitcoin-node-test.vcxproj @@ -132,11 +132,6 @@ - - - - - @@ -144,11 +139,6 @@ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The Missing file is {0}. - - - - - diff --git a/builds/msvc/vs2026/libbitcoin-node-test/packages.config b/builds/msvc/vs2026/libbitcoin-node-test/packages.config index 8a934e4c..0ce1d985 100644 --- a/builds/msvc/vs2026/libbitcoin-node-test/packages.config +++ b/builds/msvc/vs2026/libbitcoin-node-test/packages.config @@ -7,10 +7,5 @@ --> - - - - - diff --git a/builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj b/builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj index eba2500d..25c09b36 100644 --- a/builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj +++ b/builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj @@ -226,10 +226,6 @@ - - - - @@ -237,10 +233,6 @@ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The Missing file is {0}. - - - - diff --git a/builds/msvc/vs2026/libbitcoin-node/packages.config b/builds/msvc/vs2026/libbitcoin-node/packages.config index 6e4cb31b..0ce1d985 100644 --- a/builds/msvc/vs2026/libbitcoin-node/packages.config +++ b/builds/msvc/vs2026/libbitcoin-node/packages.config @@ -7,9 +7,5 @@ --> - - - - diff --git a/test/main.cpp b/test/main.cpp index f290c33e..2f4cd27c 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -17,4 +17,4 @@ * along with this program. If not, see . */ #define BOOST_TEST_MODULE libbitcoin_node_test -#include +#include