mirror of
https://github.com/boostorg/static_string.git
synced 2026-01-19 04:42:12 +00:00
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
#
|
|
# Copyright (c) 2019 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 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 ;
|