mirror of
https://github.com/boostorg/boost.git
synced 2025-04-15 01:08:14 +00:00
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:
parent
f08aae579c
commit
4e4d15d961
1 changed files with 3 additions and 0 deletions
3
Jamroot
3
Jamroot
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue