# 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/optional//boost_optional
    /boost/smart_ptr//boost_smart_ptr
    /boost/throw_exception//boost_throw_exception
    /boost/utility//boost_utility ;

project /boost/format
    : common-requirements
        <include>include
    ;

explicit
    [ alias boost_format : : : : <library>$(boost_dependencies) ]
    [ alias all
        :   boost_format
            benchmark
            example
            test
            tools
        :   <warnings>pedantic
            <warnings-as-errors>on
        ]
    ;

call-if : boost-library format
    ;

