aboutsummaryrefslogtreecommitdiff
path: root/build/spec
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-09 08:43:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-09 08:43:58 +0200
commit2e98d3ec3aa57c7b1776d3bf5e7e219a9a3cb3af (patch)
tree9a7fd8701853c5df17587be0ef00c61a32d6fc40 /build/spec
parent7de6f6f275d840e8d9523c72d8f4309c51b4dcd3 (diff)
Build according to buildspec
At this stage operations are still ignored.
Diffstat (limited to 'build/spec')
-rw-r--r--build/spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/build/spec b/build/spec
index 9ca8c4d..fda4186 100644
--- a/build/spec
+++ b/build/spec
@@ -17,11 +17,13 @@ namespace build
{
struct targetspec
{
- targetspec (path sr, name t)
- : src_root (std::move (sr)), target (std::move (t)) {}
+ explicit
+ targetspec (name t): target (std::move (t)) {}
+ targetspec (path sb, name t)
+ : src_base (std::move (sb)), target (std::move (t)) {}
- path src_root;
- name target; // target.dir is out_root.
+ path src_base;
+ name target;
};
struct opspec: std::vector<targetspec>