From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- .../tools/build/example/python_modules/python_helpers.jam | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 boost/tools/build/example/python_modules/python_helpers.jam (limited to 'boost/tools/build/example/python_modules/python_helpers.jam') diff --git a/boost/tools/build/example/python_modules/python_helpers.jam b/boost/tools/build/example/python_modules/python_helpers.jam new file mode 100644 index 00000000..5a79aeeb --- /dev/null +++ b/boost/tools/build/example/python_modules/python_helpers.jam @@ -0,0 +1,15 @@ +# Copyright 2006 Vladimir Prus +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +import modules ; +local here = [ modules.binding $(__name__) ] ; +here = $(here:D) ; +modules.poke : EXTRA_PYTHONPATH : $(here) ; + +# Import the Python rules to Boost.Build +PYTHON_IMPORT_RULE python_helpers : test1 : python_helpers : test1 ; +PYTHON_IMPORT_RULE python_helpers : test2 : python_helpers : test2 ; + +# Make the new rules accessible to everybody who imports us. +EXPORT python_helpers : test1 test2 ; -- cgit v1.2.3