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
parent 4e4d15d961
commit b3b28520e2
No known key found for this signature in database
GPG key ID: E92C451FC21EF13F

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 ;
@ -291,9 +294,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