aboutsummaryrefslogtreecommitdiff
path: root/build/context
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
parentc0c85b67516653c181fbce7c61c2df3e31e4edd8 (diff)
Determine work, home, and {src,out}_{root,base} directories
Diffstat (limited to 'build/context')
-rw-r--r--build/context22
1 files changed, 22 insertions, 0 deletions
diff --git a/build/context b/build/context
new file mode 100644
index 0000000..4c86b14
--- /dev/null
+++ b/build/context
@@ -0,0 +1,22 @@
+// file : build/context -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUILD_CONTEXT
+#define BUILD_CONTEXT
+
+#include <build/path>
+
+namespace build
+{
+ extern path work;
+ extern path home;
+
+ extern path src_root;
+ extern path out_root;
+
+ extern path src_base;
+ extern path out_base;
+}
+
+#endif // BUILD_CONTEXT