2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-15 13:12:17 +00:00
Files
json/Jamfile
2021-01-28 02:55:15 -08:00

38 lines
997 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 ;
# These make sure we only build on
# compatible C++11 or later toolchains.
obj check_basic_alignas : check/basic_alignas.cpp ;
alias c11-requires
: requirements
[ requires
cxx11_constexpr
cxx11_decltype
cxx11_hdr_tuple
cxx11_template_aliases
cxx11_variadic_templates
]
# We only require limited alignas support,
# so we have to use a custom check
[ check-target-builds
check_basic_alignas cxx11_basic_alignas : : <build>no
]
;
explicit basic_alignas c11-requires ;
path-constant LIB_DIR : . ;
build-project bench ;
build-project test ;
build-project fuzzing ;
build-project example ;