2
0
mirror of https://github.com/boostorg/outcome.git synced 2026-01-19 04:22:13 +00:00
Port https://github.com/boostorg/outcome/pull/7 to standalone Outcome.
This commit is contained in:
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2024-07-26 15:41:00 +00:00
committed by Jenkins nedprod CI
3 changed files with 35 additions and 7 deletions

26
build.jam Normal file
View File

@@ -0,0 +1,26 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# 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)
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/exception//boost_exception
/boost/system//boost_system
/boost/throw_exception//boost_throw_exception ;
project /boost/outcome
: common-requirements
<include>include
;
explicit
[ alias boost_outcome : : : : <library>$(boost_dependencies) ]
[ alias all : boost_outcome test ]
;
call-if : boost-library outcome
;

View File

@@ -28,6 +28,6 @@ DEALINGS IN THE SOFTWARE.
*/
// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
#define BOOST_OUTCOME_PREVIOUS_COMMIT_REF e30438653a080acf5929c35c7802d40824dbae9b
#define BOOST_OUTCOME_PREVIOUS_COMMIT_DATE "2024-07-17 23:08:38 +00:00"
#define BOOST_OUTCOME_PREVIOUS_COMMIT_UNIQUE e3043865
#define BOOST_OUTCOME_PREVIOUS_COMMIT_REF 271fc9cf0693edb87d52fb496deb2baf54d4ebaa
#define BOOST_OUTCOME_PREVIOUS_COMMIT_DATE "2024-07-18 14:03:54 +00:00"
#define BOOST_OUTCOME_PREVIOUS_COMMIT_UNIQUE 271fc9cf

View File

@@ -1,6 +1,6 @@
# Boost.Outcome Library test Jamfile
#
# Copyright (C) 2017-2019 Niall Douglas
# Copyright (C) 2017-2024 Niall Douglas
#
# Use, modification, and distribution is subject to the Boost Software
# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -9,8 +9,10 @@
# See http://www.boost.org/libs/outcome for documentation.
import testing ;
import ../../config/checks/config : requires ;
import ../../predef/tools/check/predef : check require : predef-check predef-require ;
import-search /boost/config/checks ;
import config : requires ;
import-search /boost/predef/tools/check ;
import predef : check require : predef-check predef-require ;
project
: requirements
@@ -18,7 +20,7 @@ project
[ predef-require "!BOOST_COMP_GNUC" or "BOOST_COMP_GNUC >= 6.0" ]
[ predef-require "!BOOST_COMP_CLANG" or "BOOST_COMP_CLANG >= 4.0" ]
<define>BOOST_TEST_MODULE=Outcome
<library>../../test/build//boost_unit_test_framework
<library>/boost/test//boost_unit_test_framework
;
{