2eedbfedfc
- `boost.beast.allow-deprecated=on` disables deprecated features. - `boost.beast.separate-compilation=on` enables separate compilation. - Add CI matrix items to check header-only, no-deprecated build. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
33 lines
861 B
Plaintext
33 lines
861 B
Plaintext
#
|
|
# 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 ../../config/checks/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//lib-asio/<link>static
|
|
<boost.beast.separate-compilation>on:<library>/boost/beast//lib-beast/<link>static
|
|
;
|
|
|
|
build-project advanced ;
|
|
build-project http ;
|
|
build-project websocket ;
|
|
|
|
# legacy
|
|
build-project echo-op ;
|