2021-12-18 03:28:17 +02:00
|
|
|
# Copyright 2018-2021 Peter Dimov
|
2020-01-02 20:00:11 +02:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
|
|
|
|
|
|
|
|
|
|
include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
|
|
|
|
|
|
|
|
|
|
if(HAVE_BOOST_TEST)
|
|
|
|
|
|
2022-12-22 15:46:55 +03:00
|
|
|
boost_test_jamfile(FILE Jamfile.v2 LINK_LIBRARIES Boost::core Boost::static_assert Boost::type_traits)
|
2021-10-16 18:10:13 +03:00
|
|
|
|
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::throw_exception)
|
|
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES no_exceptions_support_test.cpp)
|
2020-01-02 20:00:11 +02:00
|
|
|
|
2021-12-18 03:28:17 +02:00
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::utility)
|
|
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES sv_conversion_test2.cpp)
|
|
|
|
|
|
2024-11-11 02:31:11 +02:00
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::container_hash)
|
|
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES sv_hash_test.cpp)
|
|
|
|
|
|
2022-09-21 21:20:40 +03:00
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::config Boost::move Boost::smart_ptr)
|
2022-09-21 21:05:27 +03:00
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES fclose_deleter_test.cpp)
|
|
|
|
|
|
2023-02-20 20:06:19 +02:00
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::serialization)
|
|
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES serialization_nvp_test.cpp)
|
|
|
|
|
boost_test(TYPE run SOURCES serialization_split_free_test.cpp)
|
2023-02-20 21:00:26 +02:00
|
|
|
boost_test(TYPE run SOURCES serialization_split_member_test.cpp)
|
2023-02-21 02:04:39 +02:00
|
|
|
boost_test(TYPE run SOURCES serialization_construct_data_test.cpp)
|
2023-02-20 20:06:19 +02:00
|
|
|
|
2023-06-02 04:32:42 +03:00
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
|
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Threads::Threads)
|
|
|
|
|
|
|
|
|
|
boost_test(TYPE run SOURCES yield_prim_pthread_cancel_test.cpp)
|
|
|
|
|
|
2020-01-02 20:00:11 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_subdirectory(swap)
|