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 21, 2024
1 parent 8a0ade0 commit 2fb9549
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 7 additions & 10 deletions build.jam
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# 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/mp11//boost_mp11 ;

project /boost/describe
: common-requirements
<include>include
/boost/mp11//boost_mp11
;

project /boost/describe ;

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

call-if : boost-library describe
;

4 changes: 3 additions & 1 deletion test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import testing ;
local WERROR = <toolset>msvc:<warnings-as-errors>on <toolset>clang:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on ;

project : requirements
<library>/boost/describe//boost_describe
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/variant2//boost_variant2
Expand Down Expand Up @@ -102,7 +103,8 @@ run ../example/print_function.cpp : : : $(CXX14) ;
run ../example/to_json.cpp : : : $(CXX14) $(JSON) ;
run ../example/from_json.cpp : : : $(CXX14) $(JSON) ;
run ../example/serialization.cpp : : : $(CXX14) $(SERIALIZATION) ;
run ../example/json_rpc.cpp : : : $(CXX14) $(JSON) <library>/boost/utility//boost_utility ;
run ../example/json_rpc.cpp : : : $(CXX14) $(JSON) <library>/boost/utility//boost_utility
"<toolset>gcc-14,<cxxstd>14:<build>no" ; # mysterious segmentation fault
run ../example/hash_value.cpp : : : $(CXX14) ;
run ../example/equality.cpp : : : $(CXX14) ;
link ../example/console.cpp : $(CXX14) $(JSON) <library>/boost/utility//boost_utility ;
Expand Down

0 comments on commit 2fb9549

Please sign in to comment.