boost/libs/json/example/Jamfile
2021-10-05 21:37:46 +02:00

50 lines
751 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/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 path :
path.cpp
: :
$(LIB)
;
exe pretty :
pretty.cpp
: :
$(LIB)
;
exe proxy :
proxy.cpp
: :
$(LIB)
;
exe validate :
validate.cpp
: :
$(LIB)
;