forked from boostorg/core
Moved is_same implementation to detail (both directory and namespace) to use in the public headers and avoid introducing new dependencies. The documentation now recommends users to use Boost.TypeTraits or C++ standard library instead. Also, removed unnecessary includes and added missing ones in a few places.
37 lines
1.3 KiB
CMake
37 lines
1.3 KiB
CMake
# Copyright 2018-2021 Peter Dimov
|
|
# 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)
|
|
|
|
boost_test_jamfile(FILE Jamfile.v2 LINK_LIBRARIES Boost::core Boost::static_assert Boost::type_traits)
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::type_traits)
|
|
|
|
boost_test(TYPE run SOURCES eif_constructors.cpp)
|
|
boost_test(TYPE run SOURCES eif_dummy_arg_disambiguation.cpp)
|
|
boost_test(TYPE run SOURCES eif_lazy.cpp)
|
|
boost_test(TYPE run SOURCES eif_lazy_test.cpp)
|
|
boost_test(TYPE run SOURCES eif_member_templates.cpp)
|
|
boost_test(TYPE run SOURCES eif_namespace_disambiguation.cpp)
|
|
boost_test(TYPE run SOURCES eif_no_disambiguation.cpp)
|
|
boost_test(TYPE run SOURCES eif_partial_specializations.cpp)
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::throw_exception)
|
|
|
|
boost_test(TYPE run SOURCES no_exceptions_support_test.cpp)
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::utility)
|
|
|
|
boost_test(TYPE run SOURCES sv_conversion_test2.cpp)
|
|
|
|
set(BOOST_TEST_LINK_LIBRARIES Boost::core Boost::config Boost::move Boost::smart_ptr)
|
|
|
|
boost_test(TYPE run SOURCES fclose_deleter_test.cpp)
|
|
|
|
endif()
|
|
|
|
add_subdirectory(swap)
|