#
# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.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 os ;

STANDALONE = [ os.environ STANDALONE ] ;
if $(STANDALONE)
{
    LIB =
        <define>BOOST_JSON_STANDALONE=1
        <source>../src/src.cpp
        ;
}
else
{
    LIB = <library>/boost/json//boost_json ;
}

project : requirements $(c11-requires) ;

exe bench :
    bench.cpp
    :
    <include>../test
    :
    $(LIB)
    ;
