aboutsummaryrefslogtreecommitdiff
path: root/build/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-05 15:00:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-05 15:00:39 +0200
commit7e3f16c393a614e0a951abe3f7237c8169d689a9 (patch)
tree0943dbfad1e0fbf72e0ccd4f85eb2172d6fa91f6 /build/context.cxx
parentc0c85b67516653c181fbce7c61c2df3e31e4edd8 (diff)
Determine work, home, and {src,out}_{root,base} directories
Diffstat (limited to 'build/context.cxx')
-rw-r--r--build/context.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/context.cxx b/build/context.cxx
new file mode 100644
index 0000000..ce80324
--- /dev/null
+++ b/build/context.cxx
@@ -0,0 +1,19 @@
+// file : build/context.cxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#include <build/context>
+
+using namespace std;
+
+namespace build
+{
+ path work;
+ path home;
+
+ path src_root;
+ path out_root;
+
+ path src_base;
+ path out_base;
+}