]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/CMakeLists.txt
7524ae6e416c604c8e17abcec0be04ed88925a08
[ceph.git] / ceph / src / boost / libs / core / test / CMakeLists.txt
1 # Copyright 2018-2021 Peter Dimov
2 # Distributed under the Boost Software License, Version 1.0.
3 # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
5 include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
6
7 if(HAVE_BOOST_TEST)
8
9 boost_test_jamfile(FILE Jamfile.v2 LINK_LIBRARIES Boost::core Boost::static_assert)
10
11 set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::type_traits)
12
13 boost_test(TYPE run SOURCES eif_constructors.cpp)
14 boost_test(TYPE run SOURCES eif_dummy_arg_disambiguation.cpp)
15 boost_test(TYPE run SOURCES eif_lazy.cpp)
16 boost_test(TYPE run SOURCES eif_lazy_test.cpp)
17 boost_test(TYPE run SOURCES eif_member_templates.cpp)
18 boost_test(TYPE run SOURCES eif_namespace_disambiguation.cpp)
19 boost_test(TYPE run SOURCES eif_no_disambiguation.cpp)
20 boost_test(TYPE run SOURCES eif_partial_specializations.cpp)
21
22 set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::throw_exception)
23
24 boost_test(TYPE run SOURCES no_exceptions_support_test.cpp)
25
26 set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::utility)
27
28 boost_test(TYPE run SOURCES sv_conversion_test2.cpp)
29
30 endif()
31
32 add_subdirectory(swap)