aboutsummaryrefslogtreecommitdiff
path: root/build2/spec
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-14 11:37:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-14 11:37:14 +0200
commit233255f0e14f364841751755958375fe27380ba6 (patch)
tree1571f125ad89f729cbf0c3d7c0b09aba8fe0fc20 /build2/spec
parentf262632b20628136369889ebc67a65b252b233af (diff)
Implement implied buildfile support
In essence, if the buildfile is: ./: */ Then it can be omitted entirely (provided there is at least one subdirectory).
Diffstat (limited to 'build2/spec')
-rw-r--r--build2/spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/spec b/build2/spec
index 7a7e55e..92b56ec 100644
--- a/build2/spec
+++ b/build2/spec
@@ -28,7 +28,7 @@ namespace build2
//
scope* root_scope = nullptr;
dir_path out_base;
- path buildfile;
+ path buildfile; // Empty if implied.
};
struct opspec: vector<targetspec>