Merge pull request #21 from grafikrobot/modular

Add support for modular build structure.
This commit is contained in:
Peter Dimov
2025-05-02 19:11:01 +03:00
committed by GitHub
2 changed files with 29 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
# 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/config//boost_config
/boost/core//boost_core
/boost/iterator//boost_iterator
/boost/mpl//boost_mpl
/boost/range//boost_range
/boost/type_traits//boost_type_traits ;
project /boost/foreach
;
explicit
[ alias boost_foreach : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_foreach test ]
;
call-if : boost-library foreach
;
+2 -1
View File
@@ -5,7 +5,8 @@
# bring in rules for testing
import testing ;
project : requirements <toolset>msvc:<asynch-exceptions>on ;
project : requirements <toolset>msvc:<asynch-exceptions>on
<library>/boost/foreach//boost_foreach ;
test-suite "foreach"
: [ run stl_byval.cpp ]