2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-02 21:02:18 +00:00
Files
json/Jamfile
2019-10-03 03:13:33 -07:00

47 lines
1.1 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/json
#
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
]
<include>.
<implicit-dependency>/boost//headers
<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"
<toolset>msvc:<cxxflags>"/D_ITERATOR_DEBUG_LEVEL=0"
<target-os>windows:<define>_WIN32_WINNT=0x0601
;
project /boost/json
: requirements
<link>static
$(defines)
: usage-requirements
$(defines)
;
build-project test ;