diff options
Diffstat (limited to 'build/context')
-rw-r--r-- | build/context | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/build/context b/build/context index ac6e29c..723f9f9 100644 --- a/build/context +++ b/build/context @@ -77,10 +77,18 @@ namespace build out_src (const path& src, const path& out_root, const path& src_root); // If possible and beneficial, translate an absolute, normalized path - // into relative to the work directory. + // into relative to the relative_base directory, which is normally + // work. // path - relative_work (const path&); + relative (const path&); + + // By default this points to work. Setting this to something else + // should only be done in tightly controlled, non-parallel + // situations (see dump). If base is empty, then relative() + // returns the original path. + // + extern const path* relative_base; } #include <build/context.txx> |