From b3bc26dc284cf73e97b88c9979d49368d07e686c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Mar 2021 16:03:29 +0200 Subject: Add support for propagating project environment --- libbuild2/file.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/file.hxx') diff --git a/libbuild2/file.hxx b/libbuild2/file.hxx index 0c4ad62..1c8e57e 100644 --- a/libbuild2/file.hxx +++ b/libbuild2/file.hxx @@ -145,6 +145,10 @@ namespace build2 // false or the new scope is not in any project, then NULL is returned in // second. // + // Note that if switching the scope involved switching the project, then you + // may also need to switch to the new project's environment (see + // root_extra::environment). + // LIBBUILD2_SYMEXPORT pair switch_scope (scope& root, const dir_path& out_base, bool project = true); -- cgit v1.1