mirror of
https://github.com/boostorg/foreach.git
synced 2026-07-21 13:23:39 +00:00
Merge pull request #21 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
@@ -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
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user