Skip to content

Commit

Permalink
Update build.jam, test/Jamfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Aug 28, 2024
1 parent f78343e commit acf2445
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
17 changes: 7 additions & 10 deletions build.jam
Original file line number Diff line number Diff line change
@@ -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
;

5 changes: 3 additions & 2 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acf2445

Please sign in to comment.