aboutsummaryrefslogtreecommitdiff
path: root/build/context
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-19 16:10:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-19 16:10:03 +0200
commit8bd89cfca333e58f6990d7d168649dfc79878f31 (patch)
tree730bb9eec4fc5ddd086ed8465c4d7c0030db0d6b /build/context
parentb0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (diff)
Add support for sourcing/including buildfiles, print, dir{} alias
Diffstat (limited to 'build/context')
-rw-r--r--build/context9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/context b/build/context
index a369ade..05f0094 100644
--- a/build/context
+++ b/build/context
@@ -21,6 +21,15 @@ namespace build
extern path src_base;
extern path out_base;
+ // Return the src/out directory corresponding to the given out/src. The
+ // passed directory should be a sub-directory of out/src_root.
+ //
+ path
+ src_out (const path&);
+
+ path
+ out_src (const path&);
+
// If possible, translate an absolute, normalized path into relative to
// the work directory.
//