Make config module availabe to subprojects

This makes it possible to `import config` instead of using a relative
path requiring package managers to patch the files.
This commit is contained in:
Alexander Grund 2020-09-24 16:42:03 +02:00
parent f08aae579c
commit 4e4d15d961
No known key found for this signature in database
GPG key ID: E92C451FC21EF13F

View file

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