Jamfile 1.5 KB
#
# Copyright (c) 2013-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 testing ;

local SOURCES =
    array.cpp
    basic_parser.cpp
    conversion.cpp
    doc_background.cpp
    doc_forward_conversion.cpp
    doc_parsing.cpp
    doc_quick_look.cpp
    doc_serializing.cpp
    doc_storage_ptr.cpp
    doc_uses_allocator.cpp
    doc_using_numbers.cpp
    double.cpp
    error.cpp
    fwd.cpp
    json.cpp
    kind.cpp
    memory_resource.cpp
    monotonic_resource.cpp
    natvis.cpp
    null_resource.cpp
    object.cpp
    parse.cpp
    parser.cpp
    pilfer.cpp
    pointer.cpp
    serialize.cpp
    serializer.cpp
    snippets.cpp
    static_resource.cpp
    storage_ptr.cpp
    stream_parser.cpp
    string.cpp
    string_view.cpp
    system_error.cpp
    value.cpp
    value_from.cpp
    value_stack.cpp
    value_to.cpp
    value_ref.cpp
    utf8.cpp
    visit.cpp
    ryu/d2s_intrinsics_test.cpp
    ryu/d2s_table_test.cpp
    ryu/d2s_test.cpp
    ;

project : requirements <include>.  ;

for local f in $(SOURCES)
{
    run $(f) main.cpp /boost/json//boost_json ;
}

run limits.cpp main.cpp /boost/json//json_sources
    : requirements
    <define>BOOST_JSON_SOURCE
    <define>BOOST_JSON_MAX_STRING_SIZE=1000
    <define>BOOST_JSON_MAX_STRUCTURED_SIZE=20
    <define>BOOST_JSON_STACK_BUFFER_SIZE=256
    ;