# 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/container_hash//boost_container_hash
    /boost/core//boost_core
    /boost/detail//boost_detail
    /boost/interprocess//boost_interprocess
    /boost/mpl//boost_mpl
    /boost/multi_index//boost_multi_index
    /boost/parameter//boost_parameter
    /boost/preprocessor//boost_preprocessor
    /boost/smart_ptr//boost_smart_ptr
    /boost/throw_exception//boost_throw_exception
    /boost/type_traits//boost_type_traits ;

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

explicit
    [ alias boost_flyweight : : : : <library>$(boost_dependencies) ]
    [ alias all : boost_flyweight example test ]
    ;

call-if : boost-library flyweight
    ;

