aboutsummaryrefslogtreecommitdiff
path: root/build2/file
diff options
context:
space:
mode:
Diffstat (limited to 'build2/file')
-rw-r--r--build2/file16
1 files changed, 9 insertions, 7 deletions
diff --git a/build2/file b/build2/file
index 00ece85..062487a 100644
--- a/build2/file
+++ b/build2/file
@@ -34,17 +34,19 @@ namespace build2
bool
is_out_root (const dir_path&);
- // Given an src_base directory, look for a project's src_root
- // based on the presence of known special files. Return empty
- // path if not found.
+ // Given an src_base directory, look for a project's src_root based on the
+ // presence of known special files. Return empty path if not found. Note
+ // that if the input is normalized/actualized, then the output will be as
+ // well.
//
dir_path
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.
+ // 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.
//
dir_path
find_out_root (const dir_path&, bool* src = nullptr);