aboutsummaryrefslogtreecommitdiff
path: root/build/file
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 09:51:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:52:43 +0200
commit68f96f9213e849d0d7c4cedf3edeaec99743ee27 (patch)
tree271913d74c906971cac555319f5e14d0c66e0c16 /build/file
parent0d5234f4aefd3cc5b5948cc1b9dd009e50046f5e (diff)
New variable architecture
Diffstat (limited to 'build/file')
-rw-r--r--build/file7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/file b/build/file
index 8a5f9fa..64d8ad2 100644
--- a/build/file
+++ b/build/file
@@ -5,6 +5,9 @@
#ifndef BUILD_FILE
#define BUILD_FILE
+#include <map>
+#include <string>
+
#include <build/types>
#include <build/variable> // list_value
@@ -15,6 +18,8 @@ namespace build
class location;
class prerequisite_key;
+ using subprojects = std::map<std::string, dir_path>;
+
extern const dir_path build_dir; // build
extern const dir_path bootstrap_dir; // build/bootstrap
@@ -114,7 +119,7 @@ namespace build
// there is a package foo available in repository bar. Wanna
// download and use it?"
//
- list_value
+ names
import (scope& base, name, const location&);
target&