mirror of
https://github.com/boostorg/any.git
synced 2026-01-21 04:32:08 +00:00
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information. This PR depends on the following other PRs being merged to both develop and master branches of the respective repos: - https://github.com/boostorg/boost/pull/854 This PR will be changed to ready for review, i.e. not draft, when the above are merged. Do not merge this one until that time.
64 lines
2.4 KiB
Plaintext
64 lines
2.4 KiB
Plaintext
# Copyright Vladimir Prus 2005. Use, modification and
|
|
# distribution is subject to 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)
|
|
#
|
|
# For more information, see http://www.boost.org/libs/any
|
|
#
|
|
|
|
require-b2 5.0.1 ;
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
|
|
build-project unique_any ;
|
|
|
|
import testing ;
|
|
|
|
project
|
|
: source-location .
|
|
: requirements
|
|
<library>/boost/any//boost_any
|
|
[ requires cxx11_rvalue_references cxx11_static_assert ]
|
|
;
|
|
|
|
test-suite any :
|
|
[ run any_test.cpp ]
|
|
[ run any_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : any_test_no_rtti ]
|
|
[ run any_test_rv.cpp : : : ]
|
|
[ run any_test_rv.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : any_test_rv_no_rtti ]
|
|
[ run any_test_mplif.cpp ]
|
|
[ compile-fail any_cast_cv_failed.cpp ]
|
|
[ compile-fail any_test_temporary_to_ref_failed.cpp ]
|
|
[ compile-fail any_test_cv_to_rv_failed.cpp ]
|
|
[ run basic_any_test.cpp ]
|
|
[ run basic_any_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : basic_any_test_no_rtti ]
|
|
[ run basic_any_test_rv.cpp : : : ]
|
|
[ run basic_any_test_rv.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : basic_any_test_rv_no_rtti ]
|
|
[ run basic_any_test_mplif.cpp ]
|
|
[ run basic_any_test_large_object.cpp ]
|
|
[ run basic_any_test_small_object.cpp ]
|
|
[ compile-fail basic_any_cast_cv_failed.cpp ]
|
|
[ compile-fail basic_any_test_alignment_power_of_two_failed.cpp ]
|
|
[ compile-fail basic_any_test_cv_to_rv_failed.cpp ]
|
|
[ compile-fail basic_any_test_multiply_size_failed.cpp ]
|
|
[ compile-fail basic_any_test_size_alignment_zero_failed.cpp ]
|
|
[ compile-fail basic_any_test_size_less_alignment_failed.cpp ]
|
|
[ compile-fail basic_any_test_temporary_to_ref_failed.cpp ]
|
|
|
|
[ compile-fail any_from_basic_any.cpp ]
|
|
[ compile-fail any_to_basic_any.cpp ]
|
|
[ compile-fail basic_any_from_any.cpp ]
|
|
[ compile-fail basic_any_to_any.cpp ]
|
|
[ compile-fail any_from_basic_any_rv.cpp ]
|
|
[ compile-fail any_to_basic_any_rv.cpp ]
|
|
[ compile-fail basic_any_from_any_rv.cpp ]
|
|
[ compile-fail basic_any_to_any_rv.cpp ]
|
|
|
|
[ compile-fail basic_any_from_basic_any.cpp ]
|
|
[ compile-fail basic_any_to_basic_any.cpp ]
|
|
[ compile-fail basic_any_from_basic_any_rv.cpp ]
|
|
[ compile-fail basic_any_to_basic_any_rv.cpp ]
|
|
;
|
|
|
|
|