Move setting BOOST_BUILD_PATH up to the other variables

This commit is contained in:
Alexander Grund 2020-09-24 17:34:41 +02:00 committed by Glen Fernandes
parent 62cdb02a07
commit e224a94972

View file

@ -147,6 +147,9 @@ path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.75.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
# Allow subprojects to simply `import config : requires ;` to get access to the requires rule
modules.poke : BOOST_BUILD_PATH : $(BOOST_ROOT)/libs/config/checks [ modules.peek : BOOST_BUILD_PATH ] ;
boostcpp.set-version $(BOOST_VERSION) ;
use-project /boost/architecture : libs/config/checks/architecture ;
@ -294,9 +297,6 @@ if [ path.exists $(BOOST_ROOT)/libs/wave/tool/build ]
use-project /boost/libs/wave/tool : libs/wave/tool/build ;
}
# Allow subprojects to simply `import config : requires ;` to get access to the requires rule
modules.poke : BOOST_BUILD_PATH : $(BOOST_ROOT)/libs/config/checks [ modules.peek : BOOST_BUILD_PATH ] ;
# Make the boost-install rule visible in subprojects
# This rule should be called from libraries' Jamfiles and will create two