From 8cbe1701b8461f56ac02b73ede14c886740fb305 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 3 Sep 2017 16:45:01 +0200 Subject: Cleanup project src/out_root/base discovery logic Specifically, we no longer support specifying the out_base explicitly and assuming work is src_base. --- build2/file.hxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'build2/file.hxx') diff --git a/build2/file.hxx b/build2/file.hxx index 7bfae14..c394818 100644 --- a/build2/file.hxx +++ b/build2/file.hxx @@ -45,13 +45,12 @@ namespace build2 find_src_root (const dir_path&); // The same as above but for project's out. Note that we also check whether - // a directory happens to be src_root, in case this is an in-tree build. The - // second argument is the out flag that is set to true if this is src_root. - // Note that if the input is normalized/actualized, then the output will be - // as well. + // a directory happens to be src_root, in case this is an in-tree build with + // the result returned as the second half of the pair. Note also that if the + // input is normalized/actualized, then the output will be as well. // - dir_path - find_out_root (const dir_path&, bool* src = nullptr); + pair + find_out_root (const dir_path&); // If buildfile is '-', then read from STDIN. // -- cgit v1.1