diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-09 08:43:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-09 08:43:58 +0200 |
commit | 2e98d3ec3aa57c7b1776d3bf5e7e219a9a3cb3af (patch) | |
tree | 9a7fd8701853c5df17587be0ef00c61a32d6fc40 /build/spec | |
parent | 7de6f6f275d840e8d9523c72d8f4309c51b4dcd3 (diff) |
Build according to buildspec
At this stage operations are still ignored.
Diffstat (limited to 'build/spec')
-rw-r--r-- | build/spec | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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> |