json/build/Jamfile
Krystian Stasiowski 6a7d34117c C++11 is required
fix #451, close #452
2020-10-21 10:50:19 -07:00

37 lines
897 B
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 ../../config/checks/config : requires ;
project boost/json
: requirements
$(c11-requires)
<link>shared:<define>BOOST_JSON_DYN_LINK=1
<link>static:<define>BOOST_JSON_STATIC_LINK=1
<library>/boost//container/<warnings-as-errors>off
<define>BOOST_JSON_SOURCE
: usage-requirements
$(c11-requires)
<link>shared:<define>BOOST_JSON_DYN_LINK=1
<link>static:<define>BOOST_JSON_STATIC_LINK=1
: source-location ../src
;
alias json_sources
: src.cpp
;
explicit json_sources ;
lib boost_json
: json_sources
;
boost-install boost_json ;