# Copyright René Ferdinand Rivera Morell 2023-2024
# 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)

require-b2 5.2 ;

constant boost_dependencies :
    /boost/assert//boost_assert
    /boost/config//boost_config
    /boost/core//boost_core
    /boost/throw_exception//boost_throw_exception
    /boost/type_traits//boost_type_traits ;

project /boost/optional ;

explicit
    [ alias boost_optional : : : : <library>$(boost_dependencies) <include>include ]
    [ alias all : boost_optional test ]
    ;

call-if : boost-library optional
    ;
