From 8bd89cfca333e58f6990d7d168649dfc79878f31 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Feb 2015 16:10:03 +0200 Subject: Add support for sourcing/including buildfiles, print, dir{} alias --- build/context | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build/context') 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. // -- cgit v1.1