Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright René Ferdinand Rivera Morell 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/throw_exception//boost_throw_exception ;

project /boost/compat
: common-requirements
<include>include
;

explicit
[ alias boost_compat : : : : <library>$(boost_dependencies) ]
[ alias all : boost_compat test ]
;

call-if : boost-library compat
;

6 changes: 5 additions & 1 deletion test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# https://www.boost.org/LICENSE_1_0.txt

import testing ;
import ../../config/checks/config : requires ;
import-search /boost/config/checks ;
import config : requires ;

project
: default-build
Expand All @@ -21,6 +22,9 @@ project
<toolset>gcc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on

<library>/boost/core//boost_core
<library>/boost/mp11//boost_mp11

# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92397
Expand Down