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
This commit is contained in:
Mateusz Łoskot 2022-07-22 17:15:04 +02:00 committed by GitHub
parent b354162798
commit ce73f57309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
]
<toolset>msvc:<asynch-exceptions>on
;