From 62cdb02a0782db2d1ce915b51aeaaadfd628b2c4 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 24 Sep 2020 16:42:03 +0200 Subject: 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. --- Jamroot | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Jamroot') diff --git a/Jamroot b/Jamroot index dbce8c6d8a..de86e34f37 100644 --- a/Jamroot +++ b/Jamroot @@ -294,6 +294,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 -- cgit v1.2.1