aboutsummaryrefslogtreecommitdiff
path: root/build/spec
diff options
context:
space:
mode:
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>