Limit the scope of definitions in the top-level Jamfile

This commit is contained in:
Mohammad Nejati
2024-05-08 19:59:17 +00:00
committed by Mohammad Nejati
parent 98b8be489f
commit 9ce8c8581b

View File

@ -26,11 +26,9 @@ lib mswsock ; # NT
lib ipv6 ; # HPUX lib ipv6 ; # HPUX
lib network ; # HAIKU lib network ; # HAIKU
feature.feature boost.beast.allow-deprecated : on off : propagated composite ; feature.feature boost.beast.allow-deprecated : on off : propagated ;
feature.compose <boost.beast.allow-deprecated>on : <define>BOOST_BEAST_ALLOW_DEPRECATED ;
feature.feature boost.beast.separate-compilation : on off : propagated composite ; feature.feature boost.beast.separate-compilation : on off : propagated ;
feature.compose <boost.beast.separate-compilation>on : <define>BOOST_BEAST_SEPARATE_COMPILATION ;
variant beast_coverage variant beast_coverage
: debug : debug
@ -95,6 +93,8 @@ local defines =
<target-os>hpux:<library>ipv6 <target-os>hpux:<library>ipv6
<target-os>qnxnto:<library>socket <target-os>qnxnto:<library>socket
<target-os>haiku:<library>network <target-os>haiku:<library>network
<boost.beast.allow-deprecated>on:<define>BOOST_BEAST_ALLOW_DEPRECATED
<boost.beast.separate-compilation>on:<define>BOOST_BEAST_SEPARATE_COMPILATION
; ;
lib lib-asio lib lib-asio