diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-27 16:14:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-27 16:14:10 +0200 |
commit | c699c956d75dfaaded5bb24c5ea16edc73588649 (patch) | |
tree | 168245560a535714c841ded6640b69b22bf7b08d /build/context | |
parent | 9c02d307d69faa6e3c7056d8e07f16c75c189f92 (diff) |
Rework dependency state dump support
We now have a combined (scopes, variables, and targets) dump.
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> |