Use Boost lightweight_test

close #11
This commit is contained in:
Vinnie Falco
2019-09-13 10:05:39 -07:00
parent 406b929fc5
commit 773450c868
5 changed files with 1063 additions and 1502 deletions
+1 -36
View File
@@ -4,42 +4,7 @@
# 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
# Official repository: https://github.com/boostorg/fixed_string
#
import ac ;
import os ;
import feature ;
import boost ;
import modules ;
import testing ;
import ../../config/checks/config : requires ;
boost.use-project ;
local defines =
[ requires
cxx11_constexpr
cxx11_decltype
cxx11_hdr_tuple
cxx11_template_aliases
cxx11_variadic_templates
]
<implicit-dependency>/boost//headers
<include>.
<define>BOOST_ALL_NO_LIB=1
<toolset>msvc-14.1:<cxxflags>"/permissive-"
<toolset>msvc-14.2:<cxxflags>"/permissive-"
<toolset>msvc,<variant>release:<cxxflags>"/Ob2 /Oi /Ot"
<target-os>windows:<define>_WIN32_WINNT=0x0601
;
project /boost/fixed_string
: requirements
<link>static
$(defines)
: usage-requirements
$(defines)
;
build-project test ;