Adjust self dependencies as inter-lib deps no longer apply globally.

This commit is contained in:
Rene Rivera
2024-07-27 10:28:38 -05:00
parent 81e46297b5
commit 0c0e84b112
7 changed files with 28 additions and 15 deletions

View File

@ -31,9 +31,12 @@ project /boost/algorithm
explicit explicit
[ alias boost_algorithm : : : : <library>$(boost_dependencies) ] [ alias boost_algorithm : : : : <library>$(boost_dependencies) ]
[ alias all : boost_algorithm example test string/example string/test ] [ alias all : boost_algorithm test
example
minmax/example minmax/test
string/example string/test
]
; ;
call-if : boost-library algorithm call-if : boost-library algorithm
; ;

View File

@ -10,6 +10,7 @@
project project
: requirements : requirements
<library>/boost/algorithm//boost_algorithm
<optimization>speed <optimization>speed
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc:<define>NOMINMAX <toolset>msvc:<define>NOMINMAX

View File

@ -7,6 +7,8 @@
# http://www.boost.org/LICENSE_1_0.txt) # http://www.boost.org/LICENSE_1_0.txt)
# #
project : requirements <library>/boost/algorithm//boost_algorithm ;
exe minmax_ex : minmax_ex.cpp ; exe minmax_ex : minmax_ex.cpp ;
exe minmax_timer : minmax_timer.cpp ; exe minmax_timer : minmax_timer.cpp ;

View File

@ -9,17 +9,19 @@
import testing ; import testing ;
project : requirements <library>/boost/algorithm//boost_algorithm ;
alias unit_test_framework alias unit_test_framework
: # sources : # sources
/boost/test//unit_test_framework /boost/test//unit_test_framework
; ;
{ {
test-suite algorithm/minmax test-suite algorithm/minmax
: [ run minmax_element_test.cpp unit_test_framework : [ run minmax_element_test.cpp unit_test_framework
: : : : minmax_element ] : : : : minmax_element ]
[ run minmax_test.cpp unit_test_framework [ run minmax_test.cpp unit_test_framework
: : : : minmax ] : : : : minmax ]
; ;
} }

View File

@ -7,6 +7,7 @@
# #
# See http://www.boost.org for updates, documentation, and revision history. # See http://www.boost.org for updates, documentation, and revision history.
project : requirements <library>/boost/algorithm//boost_algorithm ;
exe conv_example : conv_example.cpp ; exe conv_example : conv_example.cpp ;
exe predicate_example : predicate_example.cpp ; exe predicate_example : predicate_example.cpp ;

View File

@ -9,31 +9,33 @@
import testing ; import testing ;
project : requirements <library>/boost/algorithm//boost_algorithm ;
alias unit_test_framework alias unit_test_framework
: # sources : # sources
/boost/test//unit_test_framework /boost/test//unit_test_framework
; ;
test-suite algorithm/string test-suite algorithm/string
: [ run : [ run
trim_test.cpp unit_test_framework trim_test.cpp unit_test_framework
: : : :
: :
: trim : trim
] ]
[ run [ run
conv_test.cpp unit_test_framework conv_test.cpp unit_test_framework
: : : :
: :
: conv : conv
] ]
[ run [ run
predicate_test.cpp unit_test_framework predicate_test.cpp unit_test_framework
: : : :
: :
: predicate : predicate
] ]
[ run [ run
find_test.cpp unit_test_framework find_test.cpp unit_test_framework
: : : :
: :
@ -51,23 +53,23 @@ test-suite algorithm/string
: :
: join : join
] ]
[ run [ run
replace_test.cpp unit_test_framework replace_test.cpp unit_test_framework
: : : :
: :
: replace : replace
] ]
[ run [ run
regex_test.cpp unit_test_framework regex_test.cpp unit_test_framework
../../../regex/build//boost_regex ../../../regex/build//boost_regex
: : : :
: :
: regex : regex
] ]
[ run [ run
find_format_test.cpp unit_test_framework find_format_test.cpp unit_test_framework
: : : :
: :
: find_format : find_format
] ]
; ;

View File

@ -9,6 +9,8 @@
import testing ; import testing ;
project : requirements <library>/boost/algorithm//boost_algorithm ;
alias unit_test_framework alias unit_test_framework
: # sources : # sources
/boost/test//unit_test_framework /boost/test//unit_test_framework
@ -85,7 +87,7 @@ alias unit_test_framework
# Is_partitioned_until tests # Is_partitioned_until tests
[ run is_partitioned_until_test.cpp unit_test_framework : : : : is_partitioned_until_test ] [ run is_partitioned_until_test.cpp unit_test_framework : : : : is_partitioned_until_test ]
# Apply_permutation tests # Apply_permutation tests
[ run apply_permutation_test.cpp unit_test_framework : : : : apply_permutation_test ] [ run apply_permutation_test.cpp unit_test_framework : : : : apply_permutation_test ]
# Find tests # Find tests