Update build.jam, test/Jamfile

This commit is contained in:
Peter Dimov
2024-08-28 20:28:59 +03:00
parent f78343e18d
commit acf24454d8
2 changed files with 10 additions and 12 deletions

View File

@ -1,25 +1,22 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# Copyright 2023-2024 René Ferdinand Rivera Morell
# Copyright 2024 Peter Dimov
# 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)
# https://www.boost.org/LICENSE_1_0.txt
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/mp11//boost_mp11 ;
project /boost/variant2
: common-requirements
<include>include
/boost/mp11//boost_mp11
;
project /boost/variant2 ;
explicit
[ alias boost_variant2 : : : : <library>$(boost_dependencies) ]
[ alias boost_variant2 : : : : <include>include <library>$(boost_dependencies) ]
[ alias all : boost_variant2 test ]
;
call-if : boost-library variant2
;

View File

@ -16,9 +16,10 @@ project
<warnings>extra
: requirements
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/variant2//boost_variant2
<library>/boost/core//boost_core
<library>/boost/container_hash//boost_container_hash
<toolset>msvc:<warnings-as-errors>on
<toolset>gcc:<warnings-as-errors>on