From ce73f57309744a3b76086f8aa53e61b0b30d62bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Fri, 22 Jul 2022 17:15:04 +0200 Subject: [PATCH] build: Add cxx14 requirements to root Jamfile (#1043) The library requires C++14 so it should not even be tried to build with any older C++ versions, i.e. `cxxstd` < 14. It means, `b2 cxxstd=11 libs/geometry/test` will build nothing. Related to discussion in #1012 --- Jamfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jamfile b/Jamfile index 2b9f2048c..45c27ab1d 100644 --- a/Jamfile +++ b/Jamfile @@ -2,15 +2,21 @@ # # Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands. # Copyright (c) 2008-2013 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2013 Mateusz Loskot, London, UK. +# Copyright (c) 2009-2022 Mateusz Loskot, London, UK. # # Use, modification and distribution is subject to 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) +import ../../config/checks/config : requires ; + project boost-geometry : requirements + [ requires + cxx14_constexpr + cxx14_return_type_deduction + ] msvc:on ;