#
# Copyright (c) 2025 Ivica Siladic, Bruno Iljazovic, Korina Simicevic
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
#

require-b2 5.2 ;

constant boost_dependencies :
    /boost/asio//boost_asio
    /boost/assert//boost_assert
    /boost/container//boost_container
    /boost/core//boost_core
    /boost/endian//boost_endian
    /boost/random//boost_random
    /boost/range//boost_range
    /boost/smart_ptr//boost_smart_ptr
    /boost/system//boost_system
    /boost/type_traits//boost_type_traits
    ;

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

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

call-if : boost-library mqtt5
    ;
