2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-26 06:32:23 +00:00
Files
json/Jamfile
Dmitry Arkhipov dd7c77ded6 GCC 4.8 is supported
close #497
2021-02-09 10:12:06 -08:00

38 lines
957 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 ;
explicit check_basic_alignas ;
constant c11-requires :
[ 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
]
;
path-constant LIB_DIR : . ;
build-project bench ;
build-project test ;
build-project fuzzing ;
build-project example ;