2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-12 12:12:15 +00:00
Files
json/example/Jamfile
Vinnie Falco fc757768ac Fix standalone
2019-11-19 09:51:18 -08:00

38 lines
674 B
Plaintext

#
# 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/vinniefalco/json
#
import testing ;
import ../../config/checks/config : requires ;
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 ;
}
exe pretty :
pretty.cpp
: :
$(LIB)
;
exe validate :
validate.cpp
: :
$(LIB)
;