#
# Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# 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)
#
# Official repository: https://github.com/boostorg/beast
#

import testing ;
import-search /boost/config/checks ;
import config : requires ;

project /boost/beast/example
    : requirements
    [ requires
        cxx11_constexpr
        cxx11_decltype
        cxx11_hdr_tuple
        #cxx11_sfinae_expr # Every MSVC fails this
        cxx11_template_aliases
        cxx11_variadic_templates
    ]
    <library>/boost/beast/test//lib-asio/<link>static
    <boost.beast.separate-compilation>on:<library>/boost/beast/test//lib-beast/<link>static
    <include>..
    ;

build-project advanced ;
build-project http ;
build-project websocket ;

build-project doc ;

# legacy
build-project echo-op ;
